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
- Start a random point in parameter space
- Calculate the error at
- Move to another point nearby
- Calculate the error at
- when do we stop? - deterministic, no randomness
- Run of data points
- Set a limit
- Satisfied
- Realise you’re no longer learning
- 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