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
That means this code will convert the predictions to labels:
# Other clf metrics always be converted to labelselifmetricinCLF_METRICS:
ifisinstance(pred_array[0], float):
pred_array=homogenize_clf_array(pred_array, to_labels=True)
in which case afterwards
ifmetric=="rocauc":
# Both arrays must be in probability form# if pred. array is given in probabilitiesifisinstance(pred_array[0], float):
true_array=homogenize_clf_array(true_array, to_probs=True)
will never be true and so you'd be trying to compute an ROCAUC from true labels vs predicted labels? Maybe I'm missing something?
The text was updated successfully, but these errors were encountered:
Seems like there's something wrong with
score_array()
in the classification case.matbench/matbench/data_ops.py
Lines 83 to 123 in c3b910e
accuracy
comes beforerocauc
inCLF_METRICS
:That means this code will convert the predictions to labels:
in which case afterwards
will never be true and so you'd be trying to compute an ROCAUC from true labels vs predicted labels? Maybe I'm missing something?
The text was updated successfully, but these errors were encountered: