Mar-09-2020, 02:01 AM
You probably only need degree=2, but little matter.
Look at this in the scikit-learn docs - https://scikit-learn.org/stable/auto_exa...t_ols.html
How good it is can be assessed as the mean squared error and also how well it predicts the validation set.
Look at this in the scikit-learn docs - https://scikit-learn.org/stable/auto_exa...t_ols.html
How good it is can be assessed as the mean squared error and also how well it predicts the validation set.