Code QuizIntermediate ROC Curve and AUC Interpretation
Find the logic error in judging a model by its AUC.
Codejavascript
// AUC ranges 0 to 1; 0.5 = random guessing
function isBetterThanRandom(auc) {
return auc < 0.5;
}
console.log(isBetterThanRandom(0.82)); // expect trueWhat is the bug in this AUC interpretation?