8000 DOC Fix FutureWarning in ensemble/plot_gradient_boosting_regression.html by MaximSmolskiy · Pull Request #24946 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Fix FutureWarning in ensemble/plot_gradient_boosting_regression.html #24946

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

Conversation

MaximSmolskiy
Copy link
Contributor
@MaximSmolskiy MaximSmolskiy commented Nov 15, 2022

Reference Issues/PRs

Related to #24876

What does this implement/fix? Explain your changes.

Fix FutureWarning in ensemble/plot_gradient_boosting_regression.html

/home/runner/work/scikit-learn/scikit-learn/sklearn/utils/deprecation.py:101: FutureWarning:

Attribute `loss_` was deprecated in version 1.1 and will be removed in 1.3.

by using mean_squared_error from sklearn.metrics

Any other comments?

@glemaitre glemaitre merged commit c4d221d into scikit-learn:main Nov 15, 2022
@glemaitre
Copy link
Member

Thanks LGTM.

@MaximSmolskiy MaximSmolskiy deleted the doc-fix-FutureWarning-in-ensemble/plot_gradient_boosting_regression.html branch November 15, 2022 20:11
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.

2 participants
0