Skip to content

DOC update r2_score default in regression metrics tutorial #28958

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 1 commit into from
May 6, 2024

Conversation

adamjstewart
Copy link
Contributor

multioutput='variance_weighted' is the default value for r2_score
for backward compatibility. This will be changed to uniform_average in the
future.

The future is now! Er... checks watch... 8 years ago! Looks like this was changed in #7927 but we never updated the docs to match 😅

Copy link

github-actions bot commented May 6, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 4906bb3. Link to the linter CI: here

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

haha thanks for the catch @adamjstewart !

@jeremiedbb jeremiedbb enabled auto-merge (squash) May 6, 2024 09:15
@jeremiedbb jeremiedbb merged commit a5203e8 into scikit-learn:main May 6, 2024
31 checks passed
@adamjstewart adamjstewart deleted the docs/regression branch May 6, 2024 10:00
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request May 20, 2024
@jeremiedbb jeremiedbb mentioned this pull request May 20, 2024
14 tasks
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