A sensible metalearner is chosen based on the outcome type.

default_metalearner(outcome_type)

Arguments

outcome_type

a Variable_Type object

Details

For binary and continuous outcome types, the default metalearner is non-negative least squares (NNLS) regression (Lrnr_nnls), and for others the metalearner is Lrnr_solnp with an appropriate loss and combination function, shown in the table below.

Outcome TypeCombination FunctionLoss Function
categoricalmetalearner_linear_multinomialloss_loglik_multinomial
multivariatemetalearner_linear_multivariateloss_squared_error_multivariate