Logo

Improvement of the Linear Regression Model

In Linear Regression, the degree is 1, here degree >= 0

Example

Red Line - Model prediction
Blue Lin e - True Values

Degree = 0

Constant

Pasted image 20240818135855.png

Degree = 1

Linear function - this is linear regression
Pasted image 20240818135958.png

Degree = 2

Quadratic Fn
Pasted image 20240818140021.png

Too much degree can cause overfitting

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud