I suppose it would not be hard to build a wrapper that does this, if all we
are doing is choosing a threshold. Although a global maximum is not
guaranteed without some kind of interpolation over the precision-recall
curve.

On 18 July 2017 at 02:41, Stuart Reynolds <stu...@stuartreynolds.net> wrote:

> Does scikit have a function to find the maximum f1 score (and decision
> threshold) for a (soft) classifier?
>
> - Stuart
> _______________________________________________
> 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