ABOUT
Why this course exists.
We’re a group of JavaScript engineers who wanted to learn ML through code we already understood. We built Tensorcraft to make that possible.
The lessons start with familiar code: useState helps introduce the idea of changing model state, Array.reduce can calculate a neuron’s weighted sum, and Math.max(0, x) is ReLU for a single number.
Each comparison explains how far it holds. Some are exact, like ReLU. Others share a structure or offer a way to picture the idea. We label those differences and explain where an analogy stops working.
Exercises run your code and check what it does. 65 exercises are live today. They run in a browser worker with TensorFlow.js available, and we check their reference solutions in CI. We have written 300 exercises across the five planned worlds. We have completed release checks for the published exercises. Some use tensors and models directly. Others cover the data preparation, validation, and deployment code around them.
We plan five worlds (Deep Orbit, Neon Protocol, Signal Ward, Nova Canvas, Terra Grid), each with its own story and ML curriculum. Deep Orbit is the one open today. Across its modules you assemble a working browser-side ML system, piece by piece. Connect GitHub and every solved exercise pushes to your repo. The crew’s task gives you a reason to use each concept. Your saved work gives you code to revisit, explain, and share.
What we deliberately left out
- Python ecosystem coverage. If you want PyTorch / Hugging Face / pandas mastery, fast.ai and the Hugging Face NLP Course are excellent and free.
- GPU training pipelines. A model running in a browser shares the device’s memory and processing power with the rest of the app. Distributed GPU training is outside this course.
- Research-level mathematics. We derive the math the course needs (chain rule, softmax, KL, cross-entropy) when we first introduce it. Beyond that, Karpathy's Zero-to-Hero is the right course.
- Research methodology. We teach engineering practice. Designing novel research experiments falls outside this course.
How we review the course
We review the lessons, their examples, and the checks that grade exercises. Automated checks compare course counts with the content files and run reference solutions. Our browser ML project case explains a recorded demonstration mistake with artifact hashes and reproduction commands. The reshape and transpose guide shows exact input and output values checked with TensorFlow.js.
If you find something we got wrong, email support@tensorcraft.app so we can review and correct it.
Our experience with ML
Before writing the curriculum, we shipped ML in production, in browsers and on Node servers. We built the course we wish we'd had when we started. The explanations draw on concepts we struggled with when we were learning.