Linear Regression
In statistics, linear regression is an approach for modeling the
relationship between a scalar dependent variable $y$ and one or more
explanatory variable denoted $X$.

In other words, we try to fit the data using a line.
$y = kx + b$
which can best represent the trainning data. We can write the function as
following:
$h(x) = \theta_0 + \theta_1x$
Read More