You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ROC functions break down with low scores variance. #6688
The ROC functionality reduces its workload by first extracting forward differences between scores and then discarding potential thresholds that are too close together by calling utils.isclose.fixes. The problem is that this happens without notification of the user (or any chance to intervene, setting drop_intermediate argument to False does not change anything) and, moreover, without scaling the tolerance w.r.t. to the variance of the score vector.
Steps/Code to Reproduce
This is the (slightly simplified) example given in the documentation of metrics.roc_curve
I think this has been raised before. Yes, tolerance could be a parameter,
but should best be 0.0 by default. Could you work on a PR?
On 21 April 2016 at 02:01, Maximilian Soelch [email protected]
wrote:
Description
The ROC functionality reduces its workload by first extracting forward
differences between scores and then discarding potential thresholds that
are too close together by calling utils.isclose.fixes https://github.com/scikit-learn/scikit-learn/blob/51a765a/sklearn/utils/fixes.py#L221.
The problem is that this happens without notification of the user (or any
chance to intervene, setting drop_intermediate argument to False does not
change anything) and, moreover, without scaling the tolerance w.r.t. to the
variance of the score vector.
Steps/Code to Reproduce
Activity
jnothman commentedon Apr 20, 2016
I think this has been raised before. Yes, tolerance could be a parameter,
but should best be 0.0 by default. Could you work on a PR?
On 21 April 2016 at 02:01, Maximilian Soelch [email protected]
wrote:
jnothman commentedon Apr 25, 2016
Btw, I think this is a duplicate of #3864
jnothman commentedon Apr 25, 2016
Closing as duplicate, actually.