MonotonicHALHyperparameters
VariantMonotonic Highly Adaptive Lasso (hal9001). See `setup_MonotonicHAL`.
Properties
smoothness_ordersinteger | object≥ 0≤ 1Smoothness of the basis functions: 0 fits zero-order indicators and yields a step function, 1 fits piecewise linear splines and yields a continuous one.
num_knotsinteger | null≥ 1Number of knots spanning each feature. NULL generates them from smoothness_orders.
reduce_basisnumber | object | null≤ 1> 0Minimum proportion of cases a basis function must be non-zero in to be kept. NULL uses the backend default of 1/sqrt(n). Applies only when smoothness_orders is 0.
penalizedbooleanApply the lasso penalty to the basis functions. FALSE removes it, making the fit the non-parametric maximum likelihood estimate over the monotonic class.
cv_selectbooleanSelect lambda by cross-validation inside the fit; determined by the class.
use_minbooleanSelect lambda.min from the internal cross-validation. FALSE selects the more heavily penalized lambda.1se.
nfoldsinteger≥ 3Number of folds of the internal cross-validation that selects lambda.
seedinteger | nullRandom seed for the internal cross-validation's fold assignment. NULL leaves it drawn from the ambient RNG.
ifwboolean | objectInverse Frequency Weighting in classification.
Relationships
Used by