Implement machine learning from scratch.

Every problem here is one you implement yourself. No library call standing in for the thing you are trying to learn. Real Python, real compute, free.

free · no account to try

softmax.pyunsolved
  • not run: softmax([1, 2, 3])[2]0.665241
  • not run: sum(softmax([1, 2, 3]))1.0
  • not run: softmax([1000, 1001, 1002])[2]0.665241

fill the blank, then Run

Numerically stable softmax · runs on deep-ml compute

the max subtraction is what stops exp overflowing · problem 23

Built by ML engineers. Used by a hundred thousand of them.

100k+engineers and students
1.4M+solutions submitted

700+ universities represented

engineers at these companies practice here

OpenAI, Anthropic, Google, NVIDIA, Meta, Apple, Microsoft, Amazon, Tesla, Netflix, Stripe, Mistral AI, ByteDance, Character.AI, Together.ai, Airbnb, LinkedIn, Coinbase, Spotify, JPMorgan, Morgan Stanley, Tencent, Qualcomm, Intel, Samsung, Atlassian, MongoDB, Visa, Capital One, Revolut, BMW, Airbus, Bosch, Accenture, Deloitte, Flipkart

students at 700+ universities practice here

MITStanfordCarnegie MellonUC BerkeleyHarvardPrincetonCornellColumbiaUPennBrownUIUCUniversity of WashingtonUCLAUC San DiegoUniversity of MichiganUT AustinRiceNorthwesternNYUUSCNortheasternVirginia TechTsinghuaPeking UniversityNUSShanghai Jiao TongZhejiang UniversityIIT MadrasIIT RoorkeeIIIT DelhiBITS Pilani
01 — 12everything on Deep-ML

Every way in. All of them free to start.

01 / 12Problems

Hands-on ML problems, and you write every line.

Browse and solve machine learning coding challenges. Filter by difficulty and category, and track your progress across the catalogue.

open problems
deep-ml.com/problems

loading the catalogue

click a difficulty

02 / 12Learning Path

Every path is a book. Take one down.

An ordered route through the problems, labs and projects, built in the order they make sense. Each path is bound as a book, and beginner through advanced is inside it rather than split across three separate courses.

open learning path
deep-ml.com/paths

taking the books down

take one down

03 / 12Interview Prep

Prepare for the company you are actually interviewing at.

Pick a company, follow a paced path, build the resume projects they screen for, run timed mock interviews, and track where you are.

open interview prep
deep-ml.com/interview-prep8 tracks

paced path · resume projects · timed mocks

pick a company

04 / 12AI Assistant

A coach that assigns the next rep, not a chatbot.

Meet Zero. Ask him anything and he answers from the real catalogue: he recommends actual problems, builds a playlist you save with one click, and remembers what you are working on. On a problem page he reads the question and your editor code, so he is tutoring you on the thing in front of you.

open ai assistant
deep-ml.com/study

waking the assistant

tap a starter to ask him something else

05 / 12Labs

Interactive labs on real techniques.

Implement an algorithm and test it on an actual dataset, with constraints, evaluation metrics and time limits. No CUDA install, no environment to break.

open labs
deep-ml.com/labs

loading labs

open a lab

06 / 12Projects

Build a GPT, an RL agent, CUDA kernels.

An atomised series of problems that compose into a complete build. Solve every step and run the model you built.

open projects
deep-ml.com/projects

loading projects

build one

07 / 12Math

Pen-and-paper math for ML.

Each problem opens with a worked example, then three practice problems to build mastery. Inspired by Math Academy.

From the four fundamental subspaces to PCA.

open math
deep-ml.com/math-problems

loading math

work through it

08 / 12Collections

Curated problem sets and videos.

Collections of problems organised by topic. Track your progress through each one and earn a badge when you finish it.

open collections
deep-ml.com/collectionshover a card
Transformercurated set
2/8

hover a card

09 / 12Playlists

Your own problem lists, shareable.

Build a playlist of problems and labs into a study plan, then share it. Copy anyone else's into your own library.

open playlists
deep-ml.com/playlists

loading playlists

drag to reorder

11 / 12Leaderboard

Where you stand, globally.

The top practitioners on Deep-ML. Climb it by solving problems and finishing labs.

open leaderboard
deep-ml.com/leaderboard

loading the board

drag your heat

12 / 12Research

Beat the baseline and your code becomes the baseline.

The crowd-trained tiny LLM. Fork one slot of the canonical model, improve it, and if you beat the hidden test metric your code merges automatically.

open research
deep-ml.com/research

loading the challenge

every dot is a submission

What you actually implement

Every figure here is the real computation, running in the page.

fig. 01Eigenvectors
xAx0.0°

Ax drawn against x. Two directions survive.

practice this
Start solving.

Free to start.

run your hand through it