Slide 6
Slide 6 text
Functions
int f(x) { return x*x; }
If I give you the function, it’s easy to produce the curve. What if I gave you the curve, asked for the function?
A bit harder to do in reverse, but maybe you recognize the shape? Machine learning in a nutshell: Derive algorithms from data. “Running programs backwards.”
If you look at this and notice it’s a parabola, then you just need to work out a few parameters to the equation, like location of the focus. In this case, the data is the curve,
the model is the function for a parabola, and the model has parameters. ML has techniques for finding the parameters. ML models also have a cost function which
measures difference between model and data.