[scikit-learn] random forests and multil-class probability

Matteo Caorsi m.caorsi at l2f.ch
Sat Aug 14 09:13:25 EDT 2021


Greetings!

I am currently out of office, with limited access to emails, till August the 30th.
Please contact support at giotto.ai for technical issues concerning Giotto Platform.
Otherwise, I will reply to your email as soon as possible upon my return.

With best regards,

Matteo


On 27 Jul 2021, at 12:42, Brown J.B. via scikit-learn <scikit-learn at python.org> wrote:

2021年7月27日(火) 12:03 Guillaume Lemaître <g.lemaitre58 at gmail.com>:
As far that I remember, `precision_recall_curve` and `roc_curve` do not support multi class. They are design to work only with binary classification.

Correct, the TPR-FPR curve (ROC) was originally intended for tuning a free parameter, in signal detection, and is a binary-type metric.
For ML problems, it lets you tune/determine an estimator's output value threshold (e.g., a probability or a raw discriminant value such as in SVM) for arriving an optimized model that will be used to give a final, binary-discretized answer in new prediction tasks.

Hope this helps, J.B.

_______________________________________________
scikit-learn mailing list
scikit-learn at python.org
https://mail.python.org/mailman/listinfo/scikit-learn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20210814/dc5d401f/attachment.html>


More information about the scikit-learn mailing list