Python Machine Learning Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Building a polynomial regressor

One of the main constraints of a linear regression model is the fact that it tries to fit a linear function to the input data. The polynomial regression model overcomes this issue by allowing the function to be a polynomial, thereby increasing the accuracy of the model.