Module 12
NumPy
arrays, shapes, axes
When you finish this module you can say:
I can compute with numpy arrays by reasoning about shape, and I can train a model by hand with gradient descent.
By the end of this module you'll be able to train a linear model with gradient descent, using nothing but NumPy — no machine learning library at all.
StartLessons
7 lessons · ≈ 69 min
- Not a list, an array9 min
- Shape: shape and reshape9 min
- Element-wise ops and broadcasting10 min
- Indexing and masks9 min
- Matrix multiplication: @10 min
- axis and argmax10 min
- Project: Linear regression by hand12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises