Skip to content

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

Merged
jnothman merged 2 commits intoscikit-learn:masterfrom
pulkitmaloo:patch-1
Oct 18, 2018
Merged

Fix #12398: DecisionTreeClassifier does not support categorical data#12402
jnothman merged 2 commits intoscikit-learn:masterfrom
pulkitmaloo:patch-1

Conversation

@pulkitmaloo
Copy link
Copy Markdown
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?

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
Copy Markdown
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
Copy Markdown
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