getAUC | R Documentation |
Computes the Area Under the ROC curve for a recommendation task of an algorithm with its given configuration and based on the given evaluation model.
getAUC(model, ...) ## S4 method for signature 'evalModel' getAUC(model, alg, ... )
model |
Object of type |
alg |
The algorithm to be used in the evaluation. Of class |
... |
other attributes specific to the algorithm to be deployed. Refer to |
Returns a data frame with the AUC
for each of the k-folds defined in the evaluation model and the overall average.
T. Fawcett, “ROC Graphs: Notes and Practical Considerations for Data Mining Researchers ROC Graphs : Notes and Practical Considerations for Data Mining Researchers,”, HP Inven., p. 27, 2003.
evalModel-class
, rrecsys
.
x <- matrix(sample(c(NA, 1:5), size = 200, replace = TRUE, prob = c(.6,.8,.8,.8,.8,.8)), nrow = 20, byrow = TRUE) x <- defineData(x) e <- evalModel(x, 5) auc <- getAUC(e, "FunkSVD", k = 4) auc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.