Compute AUC for predictions from a model
Usage
get_auc(object, newx = NULL, newy = NULL, weights = NULL, ...)
# S3 method for class 'xplus'
get_auc(object, newx = NULL, newy = NULL, weights = NULL, ...)Arguments
- object
A model object.
- newx
Feature matrix.
- newy
True labels.
- weights
Optional sample weights.
- ...
Arguments passed to
predict.xplus(), such assselecting a single lambda.