PRROC package – foreground background data – R
I’m currently trying to draw ROC and precision-recall curves for my model and struggling a bit to understand how to use my data for the PRROC package of R.
I have a data frame containing different confidence thresholds in [0.1, 1] and for each of these confidence thresholds I know the amount of true positives, false positives, false negatives and true negatives (conf, TP, FP, TN, FN). The PRROC package requires to use foreground (fg) and background (bg) data i.e. positive and negative. But I’m actually confused about what it means regarding my data.
How to find the number of samples that are picked in each boostrap of stratified bootstrap in pROC?
Question is regarding the roc function of pROC package.
Package link: https://www.rdocumentation.org/packages/pROC/versions/1.18.5/topics/roc. Paper link https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3068975/.
pROC plot shape with only one point
I’ve done this plot whit pROC