getAvgAUC: Computing the average AUC

Description Usage Arguments Value Author(s) Examples

View source: R/RFMCcv.R

Description

This function computes the average AUC of the ROC curves obtained from a cross-validation procedure

Usage

1
getAvgAUC(predictions, labels)

Arguments

predictions

a vector, matrix, list, or data frame containing the predictions.

labels

a vector, matrix, list, or data frame containing the true class labels. It must have the same dimensions as predictions

Value

the average AUC value

Author(s)

Piergiorgio Palla

Examples

1
2
3
## load a simple dataset with the vectors of the predictions and the labels resulting from a CV 
data(simpleData)
avg_auc <- getAvgAUC(simpleData$predictions, simpleData$labels)

pjpalla/RFmarkerDetector documentation built on May 25, 2019, 8:19 a.m.