Getting Started with Machine Learning in JavaScript
summary
A demo of in-browser machine learning using TensorFlow.js and transfer learning to train models from user-collected clicks for a small web game. Training runs finish in about 1–2 seconds on datasets around 1,000 images per class, compares k-nearest neighbors vs a tiny neural network, and shows client-side inference (no server upload) with imperfect but usable accuracy and occasional instability when classes overlap.
AI-written summary · about
