Linear regression

From Rice Wiki
Revision as of 18:35, 15 April 2024 by Rice (talk | contribs) (Created page with "'''Linear regression''' is one of the simplest used techniques for predictive modeling. It estimates a linear relationship between dependent continuous variable $y$ and attributes (aka. independent variables) $X$. <math>y = f(X)</math> There are different types * Simple linear regression: one attribute * Multiple linear regression: multiple attributes Let the following function model the true relationship between $y$ and $X$ <math>\begi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Linear regression is one of the simplest used techniques for predictive modeling. It estimates a linear relationship between dependent continuous variable $y$ and attributes (aka. independent variables) $X$.

There are different types

Let the following function model the true relationship between $y$ and $X$

where is the weight coefficient of the attribute $x_i$ to be learned, and $\epsilon$ is residual error.

To train a linear regression model is to learn weight coefficients that minimize error. Error is numerically assigned a value with cost functions, usually RSS.