twoClassSDM | R Documentation |
Functions to calculate performance metrics for two class Classification problems,
to be used in trainControl
or evaluate
.
twoClassSDM(data, lev = NULL, model = NULL) twoClassSDM2(data, lev = NULL, model = NULL) twoClassTSS(data, lev = NULL, model = NULL)
data, lev, model |
Check |
twoClassTSS
calculates ROC, sensitivity, specificity and True-Skill Statistics (TSS).
twoClassSDM
is a wrapper for multiple metrics, and calculates kappa, AUC and TSS.
twoClassSDM2
calculates all metrics from twoClassSDM
, plus log-likelihood.
## Not run: control <- trainControl(method = "cv", classProbs = TRUE, summaryFunction = twoClassSDM) control <- trainControl(method = "cv", summaryFunction = twoClassTSS) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.