Continuous time methods for machine learning