Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model = lm(y_train ~ poly(x_train, degree = 2, raw = TRUE))
- predict(model, x_test, type = "response")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement