-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Documentation of attributes of HistGradientBoostingClassifier #17678
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
Documentation of attributes of HistGradientBoostingClassifier #17678
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this @cmarmo , some minor comments
@@ -1109,6 +1111,8 @@ class HistGradientBoostingClassifier(BaseHistGradientBoosting, | |||
---------- | |||
classes_ : array, shape = (n_classes,) | |||
Class labels. | |||
do_early_stopping_ : bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll also need this for the regressor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, @simonamaggio is taking care of that in #17677.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it'd be easier to have everything in the same PR so that we can ensure consistency, but OK
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Labeled as 'superseded' @simonamaggio will take care of the changes for |
Thanks @cmarmo |
@glemaitre wrong PR... this is superseded by #17677 |
Uhm we need both. One is the classifier, the other one is the regressor. |
…learn#17678) Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
…learn#17678) Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
…learn#17678) Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Reference Issues/PRs
Closes #16283
Related to #14312
What does this implement/fix? Explain your changes.
Documents missing attribute
do_early_stopping
, makes private some other previously undocumented attributes (see comment)