Optimization methods used in ML Pedagogical implementation of various optimization methods used in ML