Explore Library
Code QuizIntermediate

Recall (Sensitivity) Calculation Bug

Identify the error in a recall computation.

Codejavascript
function recall(TP, FP, FN) {
  // recall = of actual positives, how many did we catch
  return TP / (TP + FP);
}

console.log(recall(80, 20, 10));

What is the bug in this recall function?