Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ClassProbabilities() member to DecisionTree. #3511

Merged
merged 2 commits into from Jul 9, 2023

Conversation

rcurtin
Copy link
Member

@rcurtin rcurtin commented Jul 7, 2023

This handles #3509 by adding DecisionTree::ClassProbabilities(), plus a note that these are only class probabilities when the node is a leaf and not an internal node. This could be useful not just for obtaining class probabilities but also information about the split.

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second approval provided automatically after 24 hours. 👍

@rcurtin rcurtin merged commit 10109e8 into mlpack:master Jul 9, 2023
10 of 17 checks passed
@rcurtin rcurtin deleted the class-probabilities-decision-tree branch July 9, 2023 20:32
@rcurtin rcurtin mentioned this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants