Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R docs on R^2 incorrectly say that it's not supported for non-linear models #6971

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments
Assignees

Comments

@exalate-issue-sync
Copy link

Even though we shouldn’t report R^2 for non-linear models (see [https://h2oai.atlassian.net/browse/PUBDEV-5381|https://h2oai.atlassian.net/browse/PUBDEV-5381|smart-link] ), we do. So the R docs for {{h2o.r2()}} are incorrect in saying that it returns NaN for non-linear models. This might be in Python too. Let's delete this.

It says:
Retrieves the R2 value from an H2O model. Will return R^2 for GLM Models and will return NaN otherwise. If "train", "valid", and "xval" parameters are FALSE (default), then the training R2 value is returned. If more than one parameter is set to TRUE, then a named vector of R2s are returned, where the names are "train", "valid" or "xval".

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Details

Jira Issue: PUBDEV-8744
Assignee: hannah.tillman
Reporter: Erin LeDell
State: Resolved
Fix Version: 3.36.1.3
Attachments: N/A
Development PRs: Available

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

Linked PRs from JIRA

#6229

@h2o-ops h2o-ops closed this as completed May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants