yardstick icon indicating copy to clipboard operation
yardstick copied to clipboard

Sensitivity, Specificity metrics formulas

Open jxu opened this issue 9 months ago • 1 comments

https://yardstick.tidymodels.org/reference/sens.html

For the table, I think you should use TP, FP, FN, TN instead of A, B, C, D to make things clearer like wikipedia does. https://en.wikipedia.org/wiki/Confusion_matrix

Also the formulas don't need to be written in mathjax as they're too wide for the page on my browser and don't use any special symbols. I think it's much more intuitive to write P (positive) = TP + FN PP (predicted positive) = TP + FP N (negative) = FP + TN Sensitivity = TP / P Specificity = TN / N Precision, PPV = TP / PP

jxu avatar May 14 '24 18:05 jxu