[scikit-learn] Small suggestion for documentation

Gael Varoquaux gael.varoquaux at normalesup.org
Tue Aug 7 14:23:48 EDT 2018

I think that the vocabulary mismatch comes from the fact that you are looking at these terms thinking about in sample statistics, while they are used here in the context of prediction. I think that in the context of prediction, these are the right terms. 



⁣Sent from my phone. Please forgive typos and briefness.​

On Aug 7, 2018, 10:40, at 10:40, Fellype via scikit-learn <scikit-learn at python.org> wrote:
>Dear maintainers,I've just known scikit-learn and found it very useful.
>Congratulations for this library.
>I found some confuse terms to describe r2_score parameters in
>documentation [1]. For me, the meanings of y_true and y_pred are not
>clear. From [1]:- y_true: ... Ground truth (correct) target values-
>y_pred: ... Estimated target values
>Since the R^2 value is usually used to compare the behavior of
>experimental data (observed) with a theoretical model or standard data
>(expected), I guess that it would be better to change the description
>of y_true and y_pred to something like:- y_true: ... Observed (or
>measured) target values- y_pred: ... Expected (or theoretical) target
>I also think that the same should be done in documentation of other
>scikit-learn functions that use the y_true and y_pred terms with the
>same meaning.
>Thanks for your attention and best wishes.
>scikit-learn mailing list
>scikit-learn at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180807/d7550a19/attachment.html>

More information about the scikit-learn mailing list