[scikit-learn] Why is cross_val_predict discouraged?

Joel Nothman joel.nothman at gmail.com
Thu Apr 4 04:03:16 EDT 2019


> I assume that you want to tell that it is not wise to compute TP, FP, FN
and then precision and recall using cross_val_predict. If this is what you
mean, I'd like you to explain why.

Because if there is high variance as a function of training set rather than
test sample I'd like to know.

> The pooled mean is the correct metric in this case.

I don't think we are in agreement on that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190404/79a8def4/attachment.html>


More information about the scikit-learn mailing list