Skip to content

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

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

Closed
wants to merge 3 commits into from
Closed

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

wants to merge 3 commits into from

Conversation

qinhanmin2014
Copy link
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
Contributor

hlin117 commented Sep 9, 2017

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

@qinhanmin2014
Copy link
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
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