10000 [MRG+1] FIX/DOC Improve documentation regarding non-determinitic tree behaviour by glemaitre · Pull Request #8452 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+1] FIX/DOC Improve documentation regarding non-determinitic tree behaviour #8452

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 2 commits into from
Feb 26, 2017

Conversation

glemaitre
Copy link
Member
@glemaitre glemaitre commented Feb 24, 2017

Reference Issue

Fixes #8443

What does this implement/fix? Explain your changes.

Add details regarding the non-deterministic behaviour of decision tree.

Any other comments?

Edited:

  • DecisionTreeClassifier
  • DecisionTreeRegressor
  • GradientBoostingClassifier
  • GradientBoostingRegressor
  • RandomForestRegressor
  • RandomForestClassifier

@glemaitre
Copy link
Member Author

@jmschrei @raghavrv Did you have something like this in mind?

@jmschrei
Copy link
Member

This is good. We should also update the website soon as that is the most visible documentation. You edited RandomForestClassifier and RandomForestRegressor as well, yes?

@codecov
Copy link
codecov bot commented Feb 24, 2017

Codecov Report

Merging #8452 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8452   +/-   ##
=======================================
  Coverage   95.47%   95.47%           
=======================================
  Files         342      342           
  Lines       60907    60907           
=======================================
  Hits        58154    58154           
  Misses       2753     2753
Impacted Files Coverage Δ
sklearn/ensemble/gradient_boosting.py 95.79% <ø> (ø)
sklearn/ensemble/forest.py 98.16% <ø> (ø)
sklearn/tree/tree.py 98.41% <ø> (ø)

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 067adad...b628dc2. Read the comment docs.

@agramfort
Copy link
Member

+1 for MRG

@agramfort agramfort changed the title [MRG] FIX/DOC Improve documentation regarding non-determinitic tree behaviour [MRG+1] FIX/DOC Improve documentation regarding non-determinitic tree behaviour Feb 25, 2017
@glemaitre
Copy link
Member Author
glemaitre commented Feb 25, 2017

@jmschrei Yes I did the change for the random forest, ijust forgot to add it in the first post

Copy link
Member
@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

otherwise LGTM

-----
The features are always randomly permuted at each split. Therefore,
the best found split may vary, even with the same training data,
``max_feature=n_features`` and ``bootstrap=False``, if the improvement
Copy link
Member

Choose a reason for hiding this comment

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

*max_features

@raghavrv raghavrv merged commit cc3ce58 into scikit-learn:master Feb 26, 2017
@raghavrv
Copy link
Member

Thx @glemaitre :)

sergeyf pushed a commit to sergeyf/scikit-learn that referenced this pull request Feb 28, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
@Przemo10 Przemo10 mentioned this pull request Mar 17, 2017
herilalaina pushed a commit to herilalaina/scikit-learn that referenced this pull request Mar 26, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
massich pushed a commit to massich/scikit-learn that referenced this pull request Apr 26, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
lemonlaug pushed a commit to lemonlaug/scikit-learn that referenced this pull request Jan 6, 2021
< 7556 input type="hidden" name="id" value="MDY6Q29tbWl0ODA2NzcyMzA6MTE4ZjRhYjZiMjI1MzQ3NjQ1MWJhNTNmODVmM2I0MTFiYTk2ODdiYw==" autocomplete="off" data-targets="batch-deferred-content.inputs" />
… behaviour (scikit-learn#8452)

* FIX/DOC Improve documentation regarding non-determinitic tree behaviour

* FIX correct max_features
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.

DecisionTreeClassifier should be deterministic for default parameters or documented indicating otherwise
5 participants
0