-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
ENH: OOB Permutation Importance for Random Forests #18603
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
Open
robert-robison
wants to merge
60
commits into
scikit-learn:main
Choose a base branch
from
robert-robison:rf_permutation_importance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
09f02c0
implemented perm imp in oob_score for class and reg
robert-robison a4984a9
Fixed RandomTreesEmbedding compatability error
robert-robison e46d3e2
Put permutation importance in its own method
robert-robison 965e02a
added tests and fixed random_state and formatting
robert-robison 87fbeae
Add scorer, update example, changed param name
robert-robison 05dab08
Merge branch 'master' of https://github.com/scikit-learn/scikit-learn…
robert-robison 98a94a6
formatting
robert-robison 93470c9
fixed bug in example
robert-robison 4b1f394
Apply suggestions from code review
robert-robison dfeaf52
parallelized, removed scoring, fixed tests
robert-robison d842f14
formatting
robert-robison 99414a5
Add random feature test
robert-robison 2d33c43
formatting
robert-robison 7c7a1cf
Merge remote-tracking branch 'upstream/main' into rf_permutation_impo…
robert-robison fa4cb3b
remove inspection dependency
robert-robison f379d00
integrate permutation imp with oob score
robert-robison a29fa77
MNT refactoring based on further multiprocessing
glemaitre 3143f73
doc
glemaitre e274b39
ENH parallelize
glemaitre 45ac1b5
doc
glemaitre a310862
less diff
glemaitre dec9456
improve doc
glemaitre 9206908
TST check for features importances raised error
glemaitre 7a44e25
reformat tests, update example
robert-robison d5849d4
DOC rework the example
glemaitre 5252900
glitch
glemaitre 3395309
DOC update user guide
glemaitre 81beb84
DOC solve title marker
glemaitre 8129850
DOC improve example regarding feature importance
glemaitre 5b41963
DOC add new attributes importances_
glemaitre c885a40
DOC update whats new
glemaitre 4056f8d
update docstring feature_importances_
glemaitre dbba6cc
TST add test for importances_ attribute
glemaitre a53ba26
PEP8
glemaitre 005f788
TST improve couple of assert
glemaitre cd42500
DOC add missing documentation
glemaitre 5f78f3a
clean-up
glemaitre d741ea8
small fix
glemaitre 1b4a779
DOC use boxplot for all plot in example
glemaitre d1b0208
EXA solve issue cutted ylabel
glemaitre 20ecb39
DOC add support for sample_weight in OOB score
glemaitre 9102d5f
style code
glemaitre 620e643
DOC add a note regarding correlated feature
glemaitre 3f8216a
Merge branch 'main' of https://github.com/scikit-learn/scikit-learn i…
robert-robison 39b40bb
Attempting to resolve merge in examples
robert-robison 83e61dc
formatting
robert-robison 633b7fe
Merge branch 'main' of https://github.com/scikit-learn/scikit-learn i…
robert-robison 0271b51
formatting
robert-robison 9807344
Merge branch 'main' into rf_permutation_importance
ogrisel 3289a24
Apply suggestions from code review
robert-robison 48c7c7c
Apply additional suggestions from code review
robert-robison 0225547
Apply suggestions from code review
robert-robison 3c404cb
Merge commit '0e7761cdc4f244adb4803f1a97f0a9fe4b365a99' into rf_permu…
robert-robison a47784f
MAINT Adds target_version to black config (#20293)
thomasjpfan 3695ef2
black formatted changes
robert-robison 86bb5f0
Merge remote-tracking branch 'upstream/main' into rf_permutation_impo…
robert-robison 096abe5
remove old assert_allclose import
robert-robison be2392e
Apply suggested format changes
robert-robison d3ddaf8
Reference section edits
robert-robison 280f9d9
Update examples/ensemble/plot_forest_importances.py
robert-robison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.