What is Polynomial Regression?
Polynomial regression extends linear regression by fitting curves using polynomial functions. Instead of just fitting y = b₀ + b₁x, it fits y = b₀ + b₁x + b₂x² + ... + bₙxⁿ, where n is the degree of the polynomial.
Understanding Model Complexity:
Bias-Variance Tradeoff:
Try different data patterns and polynomial degrees to see how the model's ability to fit the data changes. Notice how higher degree polynomials can create wild oscillations, especially near the edges of the data range!