Random Sampling

  • Use value

Grid search

  • How to go at it?
    • Iteratively
    • or minimising error

A generic c parameter- fitting method: || The Gradient descent method

  1. Start a random point in parameter space
  2. Calculate the error at
  3. Move to another point nearby
  4. Calculate the error at
    1. when do we stop? - deterministic, no randomness
    2. Run of data points
    3. Set a limit
    4. Satisfied
    5. Realise you’re no longer learning
  5. Repeat steps 3-4 until the error is less than a threshold, or N steps have been taken
  • Stochastic = with randomness
  • Deterministic = no randomness

Most common error norms

  • L1 norm:
  • L2 norm:
    • Harsher (default)
    • more conservative, small values

Another name for the error is cost function or loss function

A stochastic parameter - fitting method

  • This is the core idea behind genetic algorithms
    • Mutation and Selection
    • min(L2_norm)
      ln1 dimesion
  • Calculus

  • 2 dimensions
  • Going down the gradient