Phase 0 of 7 · 6 topics
Your toolkit
Get fast with the tools you will use every day. This phase is short. Do it in the same two weeks as the start of Phase 1.
Tools are like a carpenter's workshop. You cannot learn furniture design while fighting with the saw. NumPy is your saw: practise until it feels natural.
Core resources for this phase
-
Guide
NumPy: the absolute basics for beginners Free
The official guide. Short and clear. Type every example yourself.
-
Book
From Python to NumPy (Nicolas Rougier) Free
Teaches you to think in whole arrays instead of loops. This is the key NumPy skill.
Topics, in order
-
0.1 Meet machine learning: the big picture
-
Watch
Neural Networks, Ch 1–2: what a neural network is, and how it learns
3Blue1Brown
Worth it: Beautiful moving pictures of a model adjusting its weights to lower the loss. It makes the learning loop feel real in a way text can't.
-
Watch
A Gentle Introduction to Machine Learning
StatQuest (Josh Starmer)
-
Interactive
A Visual Introduction to Machine Learning
R2D3 · an animated story you scroll through
- Read
-
Watch
-
0.2 NumPy arrays, shapes and indexing
-
Watch
Complete Python NumPy Tutorial
Keith Galli
-
Read
A Visual Intro to NumPy and Data Representation
Jay Alammar · illustrated, free
Worth it: Colourful pictures of arrays, slicing and reshaping, and of how tables, images and text become arrays. The best picture-book companion to this topic.
-
Read
NumPy: the absolute basics for beginners
numpy.org
-
Read
numpy.org
-
Watch
-
0.3 Broadcasting and vectorisation
-
Read
numpy.org · with diagrams
-
Read
From Python to NumPy: the vectorisation chapters
Nicolas Rougier · free book
-
Code
Nicolas Rougier · GitHub
-
Read
-
0.4 Plotting results with Matplotlib
-
Watch
Corey Schafer
-
Read
matplotlib.org
-
Watch
-
0.5 Git and GitHub for your projects
-
Watch
The Missing Semester (MIT)
-
Interactive
interactive, in the browser
Worth it: You type real Git commands and watch the branch picture redraw itself. The fastest way to make branches and merges click.
-
Read
Scott Chacon · free book
-
Watch
-
0.6 Testing numerical code (np.allclose, pytest)
-
Read
pytest docs
-
Read
numpy.org
- Read
-
Read
Go deeper (optional)
-
Course
The Missing Semester (MIT) Free
Shell, Git and developer tools. The Git lecture is the important one.
-
Tutorial
PyTorch: Learn the Basics Free
Keep this for the start of Phase 3.