JavaScript machine learning guides
Hands-on practice
All three activities run in your browser for free. You can start without an account or a local install.
Train a model on room readings with the supplied code. Compare its false alarms and missed detections with a rule that uses only light.
Enter the four readings you think belong together. Then try reshape and transpose to see where each value lands.
Turn 12 readings into a tensor in the browser editor. Run the tests, then follow each sensor on Demir’s chart.
Worked guides
TensorFlow.js reshape vs transpose
The same output shape can group readings differently. Follow one sensor reading through both operations and inspect the exact TensorFlow.js results.
Machine learning in JavaScript: a learning path
Choose your ML goal, compare JavaScript tools and inspect the outputs each stage should produce. Explore Deep Orbit's free starting lessons.
A browser ML project: a rule, a model, and a recorded mistake
Run a supplied JavaScript training example, compare validation errors with a simple rule, and inspect the room readings behind the results.
Tensorcraft teaches ML through interactive stories and JavaScript exercises. Deep Orbit is the first available world. Its first five lessons are free, with no account required.