next

Linear Regression

Linear regression is a fundamental supervised learning algorithm used to model the relationship between a dependent variable and one or more independent variables by fitting a straight line.

Absolute Error: |y - ypred|

Squared Error: (y - ypred)2