AI/ML Engineer Course: Python, Math, Machine Learning
A free, interactive AI/ML engineer roadmap: Python for ML, NumPy, pandas, scikit-learn, linear algebra and statistics — with code that runs in your browser, auto-graded exercises and interview prep.
See the full roadmapPhase 0: Role & Approach
What an AI/ML engineer does, how ML projects run, and how to work through this path.
The role
- What an AI/ML engineer does
- How an ML project runs
- Core ideas every ML engineer knows
- Your approach: plan, projects & interviews
Phase 1: Python for ML
Write clean, interview-ready Python for ML workflows.
Types & Collections
- Types: int, float, str, bool, None
- Lists: append, extend, slicing, copies
- Tuples: immutability, unpacking, namedtuple
- Dicts: get/set, defaultdict, merging
- Sets: uniqueness and fast lookup
- Time complexity (Big-O)
Functions & OOP
- Functions: args, defaults, *args, **kwargs
- Closures & nonlocal
- Classes: __init__, staticmethod, classmethod
- Inheritance & super()
- Dunder methods: __repr__, __len__, __getitem__
- Exceptions: try / except / else / finally
- Context managers: with, __enter__, __exit__
- Modules & packages: __name__ == "__main__"
Functional patterns
- map, filter, zip, enumerate
- functools.reduce
- Generators & yield
- Decorators
- Type hints: Optional, Union, TypedDict
- Dataclasses
Scientific stack
- NumPy: arrays, broadcasting, axis
- Pandas basics: loc/iloc, filtering, missing values
- Pandas: groupby, merge, reshape (+ SQL)
Plotting: Matplotlib & Seaborn
- Matplotlib: line, scatter, histogram, bar
- Matplotlib: subplots, labels, legends, saving
- Seaborn: histplot, boxplot, heatmap, pairplot
scikit-learn API
- fit, predict, transform
- train_test_split & StratifiedKFold
- SimpleImputer, StandardScaler, OneHotEncoder
- Pipeline
- ColumnTransformer
- Metrics: accuracy, classification report, MSE
Practice milestones
- Milestone: 20 coding exercises + six classics
- Milestone: pandas SQL equivalents
- Mini EDA project (churn)
- Milestone: your own Kaggle EDA
Phase 2: Math & Statistics
Linear algebra, calculus, probability and statistics for ML.