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
caret uses MLmetrics::PRAUC(), which reports precision as NA when TP=1 and FP=0. As a result, the prAUC value reported by caret is overinflated because it drops NA values.
Solution: use yardstick::pr_auc(), which uses the convention that precision is 1 when TP=1 and FP=0.
caret uses
MLmetrics::PRAUC()
, which reports precision asNA
when TP=1 and FP=0. As a result, the prAUC value reported by caret is overinflated because it dropsNA
values.Solution: use
yardstick::pr_auc()
, which uses the convention that precision is 1 when TP=1 and FP=0.See tidymodels/yardstick#166 & tidymodels/yardstick#95
The text was updated successfully, but these errors were encountered: