Polynomial Regression: Difference between revisions
From Rice Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
To build a polynomial model involves determining the degree of polynomial and using normal linear regression methods. | To build a polynomial model involves determining the degree of polynomial and using normal linear regression methods. | ||
= Degree = | |||
A higher degree means a more complex model. While it increases the accuracy of the model, higher degree models more computationally expensive and an overly high degree will result in [[Curve Fitting#Overfitting|overfitting]]. [[RMS]] error can be used to determine what degree is sufficient; After a certain degree of polynomial, the RMS error on the test data would increase. | |||
[[Category:Machine Learning]] |
Latest revision as of 18:45, 15 April 2024
Polynomial regression is a model that describes the relationship between x and y as an nth degree polynomial.
Notice that polynomial regression is a form of Linear Regression, except there are higher-degree attributes.
To build a polynomial model involves determining the degree of polynomial and using normal linear regression methods.
Degree
A higher degree means a more complex model. While it increases the accuracy of the model, higher degree models more computationally expensive and an overly high degree will result in overfitting. RMS error can be used to determine what degree is sufficient; After a certain degree of polynomial, the RMS error on the test data would increase.