Skip to content
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

Add interpretation of vanishing R² score in terms of DummyRegressor #806

Closed
ArturoAmorQ opened this issue Mar 7, 2025 · 0 comments · Fixed by #819
Closed

Add interpretation of vanishing R² score in terms of DummyRegressor #806

ArturoAmorQ opened this issue Mar 7, 2025 · 0 comments · Fixed by #819

Comments

@ArturoAmorQ
Copy link
Collaborator

In the Comparing model performance with a simple baseline notebook we introduce the DummyRegressor as baseline using MAE.

I think it's an opportunity to mention that, from the mathematical definition of the R² score, a model that always predicts the mean results in a zero training R² score. Therefore, the strategy="mean" of the sklearn.dummy.DummyRegressor can be considered an implicit baseline for such score.

Having this explanation would help interpreting the scores in the Non i.i.d data notebook, then I consider this issue to be part of #786.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant