h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.85k stars 1.99k forks source link

GLM binomial family only accepts one value for link #10077

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

This is either a GLM bug, or a documentation bug.

For link, family="binomial", the R help says "binomial": "logit", "log"

But if you try "log" you get: Incompatible link function for selected family. Only logit is allowed for family=binomial. Got log

(I've just flagged this bug as R; I've not had chance to test what happens in Flow or Python yet.)

exalate-issue-sync[bot] commented 1 year ago

Tomas Nykodym commented: Hi Darren, thanks for reporting.

Yes that is a documentation bug. R allows log link, h2o used to allow it but does not anymore (at least not at this moment).

h2o-ops commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-3154 Assignee: Tomas Nykodym Reporter: Darren Cook State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A