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
If you edit line 882 in model_base.py to allow 'glm' and 'gam' then that method call doesn't error out, but it still doesn't provide the actual p_values as desired/expected...
I'm new to using this package so apologies in advance if this ends up being user error...
H2O version, Operating System and Environment
python 3.11, h2o 3.46.0.6, windows
Actual behavior
GAM model trained as H2OGeneralizedAdditiveEstimator() with arguments:
gives a ValueError if you call model.coef_with_p_values().
If you edit line 882 in model_base.py to allow 'glm' and 'gam' then that method call doesn't error out, but it still doesn't provide the actual p_values as desired/expected...
The docs indicate this method should be available for both GLM and GAM:
https://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/compute_p_values.html
Expected behavior
Similar to a GLM model fit in H2O, we'd expect the p-values to be calculated and displayed if model.coeff_p_values() is called.
The text was updated successfully, but these errors were encountered: