Start here
Python & NumPy for ML, in plain language
Write small Python programs and reason about arrays, shapes, vectorization, and reproducible experiments. Python and array programming are the working language of most ML experiments, but shape reasoning and reproducibility matter more than syntax memorization.
For a small example, convert three temperatures from Celsius to Fahrenheit in one expression. Store values in a one-dimensional array, multiply by 9/5, add 32, and inspect shape and dtype. This is the mechanism to keep in view as the lesson becomes more technical. Before moving on, identify the input, transformation, output, and one observation that would falsify your conclusion.
Key points
- Values, variables, collections, functions, conditions, and loops.
- Arrays, dtype, shape, axis, indexing, and broadcasting.
- Vectorization, seeds, assertions, and readable output.