get_test_auc: Test ROC-AUC

Description Usage Arguments

View source: R/get_test_auc.R

Description

Clculate the ROC-AUC using a training model and independant test-data. If classification is multinomial, then Hand and Till's (2001) method for multi-class AUC is used. If classification is binary, then the standard ROC-AUC apprach is used.

Usage

1
get_test_auc(train_model, test_data, test_cls)

Arguments

train_model

a training model

test_data

a data.frame of data for test predictions

test_cls

a vector of class labels for test_data


wilsontom/modelmisc documentation built on Nov. 22, 2019, 12:22 a.m.