EvaluateWithRocr: Evaluate With Rocr

Description Usage Arguments

View source: R/EvaluateWithROCR.R

Description

Evaluate the classifier performance using ROCR.

Usage

1
2
EvaluateWithRocr(predictions, outcome, measure = "auc",
  reverse = FALSE)

Arguments

predictions

Numeric vector. Model predictions. No default.

outcome

Numeric vector. The outcome of interest. No default.

measure

Character vector of length 1. The ROCR measure to estimate. Defaults to "auc".

reverse

Logical vector of length 1. If TRUE the functions returns the 1 - AUC rather than AUC. Defaults to FALSE.


citronmeliss/predictionpackr documentation built on Feb. 10, 2020, 12:19 a.m.