Skip to content

[MRG] discrete branch: add an example for KBinsDiscretizer#9713

Closed
qinhanmin2014 wants to merge 3 commits intoscikit-learn:discretefrom
qinhanmin2014:my-feature-1
Closed

[MRG] discrete branch: add an example for KBinsDiscretizer#9713
qinhanmin2014 wants to merge 3 commits intoscikit-learn:discretefrom
qinhanmin2014:my-feature-1

Conversation

@qinhanmin2014
Copy link
Copy Markdown
Member

@qinhanmin2014 qinhanmin2014 commented Sep 8, 2017

Reference Issue

Fixes #9339
Part of #9342

What does this implement/fix? Explain your changes.

Basic idea of the example:
(1)plot the data before and after discretization (idea come from this page))
(2)train several classifiers and compare the results through cross validation. The experiment is based on this paper. DecisionTree is used in this paper and we get very similar result. SVC is mentioned in some papers such as this one.
Since current discretization is naive, it seems hard to expect big improvement.

Any other comments?

cc @jnothman. Feel free to close it if there is better example.
Current result from Circle CI.

@hlin117
Copy link
Copy Markdown
Contributor

hlin117 commented Sep 9, 2017

I addressed your question regarding more convincing datasets in #9339.

@qinhanmin2014
Copy link
Copy Markdown
Member Author

ping @jnothman Sorry to disturb.
Do you think this deserves a review? If not, I'll close it since a dead PR here might block others from contributing. If so, please consider take some time to take case of it since the discrete branch is again conflict with master. Thanks a lot :)

@jnothman
Copy link
Copy Markdown
Member

As I've said, I don't think this is compelling.

@qinhanmin2014 qinhanmin2014 deleted the my-feature-1 branch October 17, 2017 03:01
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.

3 participants