ROCtest: Generic function to build ROCtest

Description Usage Arguments Details Value Note Author(s)

Description

Explore the accuracy of classifiers using ROC as the metric

Getting an ROCtest on a generalized linear model

Getting an ROCtest on a train object

Getting an ROCtest on a caretEnsemble object

Getting an ROCtest on a caretEnsemble object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ROCtest(mod, testdata, ...)

## S3 method for class 'glm'
ROCtest(mod, testdata, ...)

## S3 method for class 'train'
ROCtest(mod, testdata, ...)

## S3 method for class 'caretEnsemble'
ROCtest(mod, testdata, ...)

## S3 method for class 'caretStack'
ROCtest(mod, testdata, ...)

Arguments

mod

A model object to generate an ROCit for

testdata

A dataframe to generate the ROC for the mode on

...

optional additional parameters to pass to pROC::coords such as best.weights

Details

The object has the following items

Value

A ROCit object

Note

ROC coordinates are unsmoothed.

Author(s)

Jared E. Knowles


jknowles/EWStools documentation built on May 19, 2019, 11:42 a.m.