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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: