Skip to contents

Reference: https://www.r-bloggers.com/2019/12/need-to-save-rs-lm-or-glm-models-trim-the-fat/

Usage

strip_glm(cm, earth = FALSE)

Arguments

cm

SuperLearner GLM or Earth model

earth

flag for if model is SuperLearner Earth model, defaults to GLM

Value

model with unnecessary features removed