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
My guess is that it does not create a bug, but there is a typo in the function compare in DoublePairComparator in mltk.predictor.evaluation.AUC.
You wrote:
int cmp = Double.compare(o1.v1, o2.v1);
if (cmp == 0) {
cmp = Double.compare(o2.v2, o2.v2);
}
but the second comparison should be Double.compare(o1.v2, o2.v2).
The text was updated successfully, but these errors were encountered:
My guess is that it does not create a bug, but there is a typo in the function
compare
inDoublePairComparator
inmltk.predictor.evaluation.AUC
.You wrote:
but the second comparison should be
Double.compare(
o1.v2, o2.v2)
.The text was updated successfully, but these errors were encountered: