Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix #12398: DecisionTreeClassifier does not support categorical data #12402

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

Merged
merged 2 commits into from
Oct 18, 2018

Conversation

pulkitmaloo
Copy link
Contributor

Reference Issues/PRs

Fixes #12398

What does this implement/fix? Explain your changes.

Updated DecisionTreeClassifier doc to mention that it does not support categorical data for now

Any other comments?

@@ -400,7 +400,7 @@ it differs in that it supports numerical target variables (regression) and
does not compute rule sets. CART constructs binary trees using the feature
and threshold that yield the largest information gain at each node.

scikit-learn uses an optimised version of the CART algorithm.
scikit-learn uses an optimised version of the CART algorithm; however, scikit-learn implementation does not support categorical variables for now.
Copy link
Member

Choose a reason for hiding this comment

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

Please break lines so that they don't exceed 79 characters

@jnothman jnothman merged commit d9b56b6 into scikit-learn:master Oct 18, 2018
@jnothman
Copy link
Member

Thanks @pulkitmaloo

anuragkapale pushed a commit to anuragkapale/scikit-learn that referenced this pull request Oct 23, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Nov 14, 2018
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
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.

DecisionTreeClassifier doesn't distinguish between numerical and categorical data
3 participants