Learning Theory and Optimisation