R/caretList.R
defaultMetric.Rd
Caret defaults to RMSE for classification and RMSE for regression. For classification, I would rather use ROC.
defaultMetric(is_class, is_binary)
logical, is this a classification or regression problem.
logical, is this binary classification.