Linear regression
Let the data be $(x_i, y_i)$ for $i = 1, 2, …, n$ where $x_i \in \mathbb{R}^d$ and $y_i \in \mathbb{R}$. then we can model $y_i$ as: $$Y = \beta_0 + \beta_1X + \varepsilon$$ Where: $Y \in \mathbb{R}$ is the dependent variable $X \in \mathbb{R}^d$ is the independent variable (or feature vector in higher dimensions) $\beta_0$ is the y-intercept (bias term) $\beta_1$ is the slope (or coefficient vector in higher dimensions) $\varepsilon$ is the error term Ideal regressor For mean squared error loss, the ideal regressor is defined as: ...