Machine Learning
from First Principles

A structured path from setting up Python to deploying production models. Every equation derived. Every algorithm implemented from scratch. No black boxes, no paywalls.

9
Modules
33
Lessons
3
Tools
100%
Free

The Path

Complete Curriculum

Nine modules, each building on the last. Start at zero, finish with a deployed ML system.

Math-First Approach

Every algorithm is derived from its mathematical roots. KaTeX-rendered equations with every symbol explained. Intuition first, proof second.

</>

Scratch → Scale

Every algorithm implemented in raw NumPy first, then scikit-learn, then production libraries. You understand the code because you built the foundation.

🚀

End-to-End Journey

The curriculum ends where careers begin: FastAPI, Docker, GitHub Actions CI/CD, and cloud deployment to AWS, Render, and Streamlit.

Reference Guides

Beyond the Curriculum

Three standalone reference pages that sit alongside the modules — for when you need a syntax lookup, a production architecture, or an MLOps tool decision.

The Ecosystem

Free Tools for ML Learners

Companion tools built alongside the curriculum — all browser-based, all free, no sign-up required.

🐍

PyOrbit IDE

Serverless Python IDE

Run Python with NumPy, Pandas, and Matplotlib entirely in your browser via Pyodide WebAssembly. Monaco editor, inline plots, package installer. Zero setup.

Python 3.11 Monaco editor Inline plots pkg installer
Launch PyOrbit View on GitHub ↗
🎮 Play to Learn
⚔️

Hyperplane Hero

Interactive SVM Game

Master SVMs through gameplay — drag a hyperplane sword to separate data points, maximise margins, and switch kernels (Linear → RBF → Polynomial) across 5 levels, each teaching a real SVM concept.

5 levels 3 kernels Margin viz Pairs with 4.3
Play Now Read Lesson 4.3 — SVMs first →
📝

Markdown Converter

Rich Text → Markdown

Convert rich text and HTML to clean Markdown instantly. Real-time preview, full formatting support, one-click copy, download as .md. Everything runs in your browser — nothing sent to any server.

Real-time Privacy-first Download .md Works offline
Open Converter View on GitHub ↗
💡

Run lesson code live: Open PyOrbit IDE side-by-side with any lesson and paste the code snippets directly — NumPy, Pandas, and Matplotlib are pre-loaded, no pip install needed.

How It Works

A Complete Learning Loop

📖

Read

Study the lesson — intuition first, math second, code third.

Run

Paste code into PyOrbit IDE and execute it live in your browser.

🎮

Play

Reinforce SVM intuition with Hyperplane Hero after Lesson 4.3.

🚀

Deploy

Module 09 takes your model live — FastAPI, Docker, and AWS.

About

Built for Learners Who Want Depth

ZeroToML fills the gap between shallow tutorials and dense academic papers. Every concept is explained with intuition first, mathematics second, and working code third.

Created by Muhammad Waqas — a developer who learned ML the hard way and built the resource he wished had existed.