roc {mldr} | R Documentation |
Calculates the ROC (Receiver Operating Characteristic) curve for given true labels and predicted ones. The pROC package is needed for this functionality.
roc(...)
## S3 method for class 'mldr'
roc(mldr, predictions, ...)
... |
Additional parameters to be passed to the |
mldr |
An |
predictions |
Matrix of predicted labels or probabilities, columns corresponding to labels and rows to instances. |
ROC object from pROC package.