Polynomial Regression in R for Data Science - Detechtor
Create a regressor and call it, 'poly_reg'. Assign the regressor to the lm() function as we did in linear regression. The function takes two arguments. The formula and the data, same way we did in linear regression. To transform this from a linear regression to a polynomial regression model, we need to add some polynomial features.
Oct-24-2022, 11:02:44 GMT
- Technology: