Study interactive :: Progress tools open in the Study Hub reader.

Module 00: Prerequisites

Build programming and math foundations before the ML modules. This stage is Stage 0 in the learning path.

What You'll Learn

Modules

01-python-basics

Learn Python from scratch: structured as AI programming with Python: core syntax, functional and object-oriented patterns, files, and exceptions before math-heavy ML topics.

Topics:

Capstone project:

Time Estimate: 2-3 weeks

Complete Guide

Additional Resources:

02-linear-algebra

Deep dive into linear algebra. The mathematical foundation of machine learning.

Topics:

Time Estimate: 2-3 weeks

Complete Guide

03-statistics-probability

Statistics and probability for evaluating models and reasoning about uncertainty.

Topics:

Time Estimate: 2-3 weeks

Complete Guide

04-calculus

Calculus for optimization and training machine learning models.

Topics:

Time Estimate: 1-2 weeks

Complete Guide

05-environment-setup

Set up your development environment for ML work.

Topics:

Time Estimate: 1 day

Complete Guide

Note: The file was renamed from 03-environment-setup.md to 05-environment-setup.md to maintain logical ordering.

Additional Resources

Learning Objectives

By the end of this phase, you should be able to:

Foundation exit criteria (before Module 01)

Do not start Module 01 until you can pass this gate. Weak foundations here are the main reason learners stall later.

Skill Self-check
Python Write a function + class that reads a CSV and handles a missing-file error
Complexity State Big-O of a single loop vs nested loop over n items
Linear algebra Multiply two 2×2 matrices; explain what a dot product measures
Statistics Compute mean and standard deviation; explain when median beats mean
Calculus Describe gradient descent and the role of learning rate
Environment Create a venv, pip install packages, open Jupyter

Proof of work (pick one): Movie script capstone or NumPy neural network tutorial

Full job-market context: Foundation & Job Market Readiness

Exercises

Each module includes:

Getting Started

  1. Start with 01-python-basics
  2. Complete all exercises
  3. Study 02-linear-algebra (foundation of ML)
  4. Study 03-statistics-probability (for model evaluation)
  5. Study 04-calculus (for optimization)
  6. Set up your environment in 05-environment-setup

Tips

Documentation & Learning Resources

Python Programming

Official Documentation:

Free Courses:

Interactive Learning:

Mathematics for ML

Linear Algebra:

Statistics:

Calculus:

Mathematics for ML (Combined):

Git & Version Control

Essential for ML Projects:

Why Learn Git:


Exit gate (Stage 0)

Before starting Module 01, complete Gate A: Python fluency, Big-O, linear algebra basics, stats, gradient intuition, and the movie-script or NumPy NN capstone.

Next Module: 01-python-for-data-science


Important Notes

Mathematics Learning Strategy

  1. Don't Skip Math: Strong mathematical foundation makes ML much easier
  2. Focus on Intuition: Understand concepts, not just formulas
  3. Practice with Code: Use NumPy to implement concepts
  4. Visual Learning: Watch 3Blue1Brown videos for geometric intuition
  5. Apply to ML: Connect each concept to ML applications
  1. Linear Algebra First: Foundation for everything
  2. Statistics Second: Needed for data understanding
  3. Calculus Third: Needed for optimization
  4. Practice Together: Work on exercises combining all three

Time Investment


Try next: A strong mathematical foundation will make all subsequent ML learning much smoother. Take your time with this phase!