You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: h2o-docs/src/product/data-science/algo-params/control_variables.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,9 @@ To get the unrestricted model with its own metrics use ``glm.make_unrestricted_g
21
21
22
22
The control variables' coefficients are set to zero in the variable importance table. Use the unrestricted model to get the variable importance table with all variables included.
23
23
24
+
If you set up ``control_variables`` together with ``remove_offset_effects`` feature, model metrics and scoring history is calculated with both effects enabled.
25
+
If you need to get model only with one feature enabled, you can get it using ``glm.make_unrestricted_glm_model(control_variables_enabled=True)`` or ``glm.make_unrestricted_glm_model(remove_offset_effects_enabled=True)``
Copy file name to clipboardExpand all lines: h2o-docs/src/product/data-science/algo-params/remove_offset_effects.rst
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ Model metrics and scoring history are calculated for both the restricted model (
13
13
14
14
To get the unrestricted model with its own metrics use ``glm.make_unrestricted_glm_model()`` / ``h2o.make_unrestricted_glm_model(glm)``.
15
15
16
+
If you set up ``remove_offset_effects`` together with ``control_variables`` feature, model metrics and scoring history is calculated with both effects enabled.
17
+
If you need to get model only with one feature enabled, you can get it using ``glm.make_unrestricted_glm_model(control_variables_enabled=True)`` or ``glm.make_unrestricted_glm_model(remove_offset_effects_enabled=True)``
0 commit comments