roc {mldr}R Documentation

ROC curve

Description

Calculates the ROC (Receiver Operating Characteristic) curve for given true labels and predicted ones. The pROC package is needed for this functionality.

Usage

roc(...)

## S3 method for class 'mldr'
roc(mldr, predictions, ...)

Arguments

...

Additional parameters to be passed to the pROC::roc function. See roc for more information.

mldr

An "mldr" object. Its labels will be extracted via mldr_to_labels.

predictions

Matrix of predicted labels or probabilities, columns corresponding to labels and rows to instances.

Value

ROC object from pROC package.

See Also

mldr_evaluate roc


[Package mldr version 0.4.3 Index]