Description Usage Details Value Examples
Sets the performance metric to be area under the AUC and PR curve
1 |
Modifies summaryFunction
used in trainControl
.
Creates additional summary functions for summaryFunction
.
Possible methods for evaluating cross-validation performance in trainControl
can then be prAUC
or rocAUC
for area under the precision-recall curve
and area under the ROC curve, respectively.
Their performance names are found in getPerformanceNames
.
named vector of two functions: prAUC
or rocAUC
1 2 | # not run
trainControl(method='cv', classProbs=T, index = index, summaryFunction=aucs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.