Skip to content

DOC improve learning-rate AdaBoost estimator #19919

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 3 commits into from
Apr 20, 2021

Conversation

bharatr21
Copy link
Contributor

Reference Issues/PRs

#19521

What does this implement/fix? Explain your changes.

Fixes #19521 by updating documentation

Any other comments?

Please review for verbosity

@glemaitre glemaitre changed the title DOC: Adaboost Learning Rate Documentation DOC improve learning-rate AdaBoost estimator Apr 19, 2021
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

You need to make the same changes for the AdaBoostRegressor.

@bharatr21 bharatr21 requested a review from glemaitre April 19, 2021 09:18
@bharatr21
Copy link
Contributor Author

You need to make the same changes for the AdaBoostRegressor.

Updated

@@ -314,8 +314,9 @@ class AdaBoostClassifier(ClassifierMixin, BaseWeightBoosting):

learning_rate : float, default=1.
Learning rate shrinks the contribution of each classifier by
``learning_rate``. There is a trade-off between ``learning_rate`` and
``n_estimators``.
``learning_rate`` whereas a higher learning rate increases the
Copy link
Member

Choose a reason for hiding this comment

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

actually I don't think that whereas is the right conjunction.

Can you just rephrase with

Weight applied to each classifier at each boosting iteration. A higher
learning rate increases the contribution of each classifier. There is a
trade-off between the `learning-rate` and `n_estimators` parameters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@bharatr21 bharatr21 requested a review from glemaitre April 19, 2021 11:34
@glemaitre glemaitre merged commit 9b7ff27 into scikit-learn:main Apr 20, 2021
@glemaitre
Copy link
Member

Thanks @Bharat123rox

@bharatr21 bharatr21 deleted the adaboost branch April 20, 2021 12:19
@glemaitre glemaitre mentioned this pull request Apr 22, 2021
12 tasks
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adaboost Learning Rate Documentation
2 participants