defaultMetric: Construct a default metric

View source: R/caretList.R

defaultMetricR Documentation

Construct a default metric

Description

Caret defaults to RMSE for classification and RMSE for regression. For classification, I would rather use ROC.

Usage

defaultMetric(is_class, is_binary)

Arguments

is_class

logical, is this a classification or regression problem.

is_binary

logical, is this binary classification.


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.