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

[SPARK-9478] [ml] Add class weights to Random Forest #13851

Closed
wants to merge 18 commits into from

Conversation

n-triple-a
Copy link

What changes were proposed in this pull request?

This PR is to implement class weights support to Random Forest (and also Decision Tree). This is useful in handling unbalanced data in classification problems.

How was this patch tested?

Add a unit test in the DecisionTreeClassifierSuite. Manual tests are also done locally on an unbalanced dataset.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@sethah
Copy link
Contributor

sethah commented Jun 22, 2016

@n-triple-a Could you please see my comment and provide your feedback on the JIRA?

Also, in an effort to promote clear communication and reduce duplicated effort, it is common to comment on the JIRA that you intend to work on the task before work begins, especially on JIRAs like this one which have had others already doing work on it and require a significant amount of work. Thanks!

@HyukjinKwon
Copy link
Member

Hi @n-triple-a is this still active?

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.

4 participants