statistics regression machine-learning
Definition
Linear Regression
Linear regression models the relationship between a dependent variable
and one or more independent variables by assuming a linear dependency. Formally, for an observation , the model assumes:
where
is the coefficient vector (slope), is the intercept (bias), and represents normally distributed error or noise. The objective is to identify the hyperplane that best fits the observed data by minimising the discrepancy between the predicted values and actual observations .
Estimation: Minimising Squared Error
The parameters
Normal Equations (Exact Solution): When the feature dimension
Gradient Descent (Iterative Optimisation): For high-dimensional datasets or online learning settings, parameters are updated iteratively in the direction of the negative gradient: