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

Fix R example for GAM #8191

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment
Closed

Fix R example for GAM #8191

exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment
Assignees

Comments

@exalate-issue-sync
Copy link

The R example in the GAM chapter needs to be updated slightly.
https://github.com/h2oai/h2o-3/blob/rel-zahradnik/h2o-docs/src/product/data-science/gam.rst#example

Remove the '' around each value when creating the frame knots. So instead of:
{code}
knots1 <- c('-1.99905699', '-0.98143075', '0.02599159', '1.00770987', '1.99942290')
{code}
use
{code}
knots1 <- c(-1.99905699, -0.98143075, 0.02599159, 1.00770987, 1.99942290)
{code}
Note that the Python example is already correct.

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7447
Assignee: hannah.tillman
Reporter: Angela Bartz
State: Resolved
Fix Version: 3.30.0.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4507

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