As I understand it, first we check the pattern of data and if it looks that it is not linear, we try to increase the degree to quadratic.If the curve of the data pattern is more abrupt, the degree of the polynomial should be increased.
Is this the idea? Does increasing the degree make the curve more abrupt or it fits the data with increased precision to the point of causing overfitting?
What else should be mentioned about that? Please explain thoroughly.
Showing an example in Python would be greatly appreciated.