Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ML Session n°3

ML Session n°3

Adrien Couque

March 08, 2017
Tweet

More Decks by Adrien Couque

Other Decks in Technology

Transcript

  1. Notations : Scalar (number) : Vector : Matrix : Transpose

    of matrix X : Mean of vectors x : Estimate of vector value x
  2. Solving simple linear regression Goal : find the best and

    for Best ? Minimize the square residuals (least squares)
  3. Trick : still a linear regression ! Just create additional

    columns, derived from pre-existing ones Then it comes back to a linear regression
  4. Normal equation vs gradient descent Normal equation Gradient descent No

    additional parameters Need to choose a learning step No loop Needs to iterate : for inverse Slow if is large Works well when is large In practice : n < 10.000 ⇔ normal equation