Dear All,
I am amazed to find negative values of sklearn.metrics.r2_score and
sklearn.metrics.explained_variance_score in a model ( cross validation of
OLS regression model)
However, what amuses me more is seeing you justifying negative
'sklearn.metrics.r2_score ' in your documentation. This
Hi Samir,
In the documentation there’s a link to how the coefficient of determination is
defined: https://en.m.wikipedia.org/wiki/Coefficient_of_determination From this
it is easy to see when the values can become negative: when the model performs
significantly worse than the baseline (predicti
Hello Samir,
The tone of your email is disrespectful. For any project, but particularly so
for an open source project. It is not for this community.
Please review the Code of Conduct for this library.
http://scikit-learn.org/stable/developers/contributing.html
Regards,
Reshama
> On Aug 11,
Simple: despite its name R2 is not a square. Look up its definition.
On Wed, 11 Aug 2021, 21:17 Samir K Mahajan,
wrote:
> Dear All,
> I am amazed to find negative values of sklearn.metrics.r2_score and
> sklearn.metrics.explained_variance_score in a model ( cross validation of
> OLS regressio