Simple: despite its name R2 is not a square. Look up its definition.

On Wed, 11 Aug 2021, 21:17 Samir K Mahajan, <samirkmahajan1...@gmail.com>
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 regression model)
> However, what amuses me more  is seeing you justifying   negative
> 'sklearn.metrics.r2_score ' in your documentation.  This does not
> make sense to me . Please justify to me how squared values are negative.
>
> Regards,
> Samir K Mahajan.
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn@python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to