Deep learning Note 2 — Part 2 Optimization