Skip to content

[MRG] EHN add note to create balanced RF #373

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 1 commit into from
Nov 24, 2017

Conversation

glemaitre
Copy link
Member

Reference Issue

closes #372

What does this implement/fix? Explain your changes.

Documentation note to create a balanced random forest from the balanced bagging classifier.

Any other comments?

@codecov
Copy link

codecov bot commented Nov 22, 2017

Codecov Report

Merging #373 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #373      +/-   ##
==========================================
- Coverage   98.74%   98.74%   -0.01%     
==========================================
  Files          68       68              
  Lines        3899     3897       -2     
==========================================
- Hits         3850     3848       -2     
  Misses         49       49
Impacted Files Coverage Δ
imblearn/ensemble/classifier.py 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e00e7f8...c66a5e7. Read the comment docs.

@glemaitre
Copy link
Member Author

@chkoar here it goes


It also possible to turn a balanced bagging classifier into a balanced random
forest using a decision tree classifier and setting the parameter
``max_features='auto'`. It allows to randomly select a subset of features for
Copy link
Member

Choose a reason for hiding this comment

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

missing backtick after auto

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks Andy

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for adding the example, I think it's very helpful! (I just linked my students to it ;)

Copy link
Member Author

Choose a reason for hiding this comment

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

We will try to find sometime to check the sickit-learn PR to push it further

glemaitre added a commit that referenced this pull request Dec 7, 2017
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.

DOC add comments regarding to make a balanced random forest from a BalancedBaggingClassifier
2 participants