Skip to content

Record number of assignments for each leaf#1154

Merged
varunagrawal merged 1 commit into
developfrom
decisiontree/nrAssignments
Apr 2, 2022
Merged

Record number of assignments for each leaf#1154
varunagrawal merged 1 commit into
developfrom
decisiontree/nrAssignments

Conversation

@varunagrawal
Copy link
Copy Markdown
Contributor

This PR adds a new variable to DecisionTree::Leaf nodes so we can keep track of the number of assignments in each leaf.
Particularly useful when pruning is enabled as it avoids the need to inspect the internal structure of the decision tree.

@varunagrawal varunagrawal requested a review from dellaert March 30, 2022 23:44
@varunagrawal varunagrawal self-assigned this Mar 30, 2022
@varunagrawal
Copy link
Copy Markdown
Contributor Author

@dellaert in case you didn't get a notification email.

@varunagrawal varunagrawal merged commit 99c01c4 into develop Apr 2, 2022
@varunagrawal varunagrawal deleted the decisiontree/nrAssignments branch April 2, 2022 14:01
@varunagrawal varunagrawal restored the decisiontree/nrAssignments branch April 2, 2022 14:21
@varunagrawal varunagrawal deleted the decisiontree/nrAssignments branch April 2, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants