Formalisms:

Given data corresponding to labels , find , where performs best according with the evaluation criteria.

And then we can define the Cost Function as:

where we minimize to find the model parameters .

Gradient Descent

  • initialize
  • Repeat until convergence

For linear regression:

  • Assume convergence when

page 53.