Needs source model trained with control variables or remove offset effects.

h2o.make_derived_glm_model(
  model,
  destination_key = NULL,
  remove_control_variables_effects = FALSE,
  remove_offset_effects = FALSE
)

Arguments

model

a GLM H2OModel trained with control variables or with remove offset effects features

destination_key

a string or a NULL

remove_control_variables_effects

logical; set control variables flag to get model affected only by this feature (available only if control_variables and remove_offset_effects parameters are both set)

remove_offset_effects

logical; set remove offset effects flag to get model affected only by this feature (available only if control_variables and remove_offset_effects parameters are both set)