
Coefficients and Prediction for Penalized MARS Models
coef.mars_lasso.RdCoefficients and Prediction for Penalized MARS Models
Arguments
- object
Fitted mars_lasso object.
- s
NULL for the selected penalty, or an exact fitted lambda value. No interpolation or refitting is performed.
- standardized
Return coefficients on the optimization scale instead of the original supplied design scale.
- ...
Unsupported arguments are rejected.
- newdata
Raw predictor records. NULL uses the training data. Correlation matrix prediction needs the internal study and effect columns stored on object.
- type
response returns effect-scale population predictions; working returns the fitting scale; matrix returns complete named predicted correlation matrices.
- matrix_action
warn, error, repair or none, as in predict.mars_rf(). Explicit repair records matrix changes; bounded pairs do not ensure joint validity.