AI handwritten digit classifier, by Vikranth Reddy
Draw a digit (0–9) in the box. A real softmax (multinomial logistic regression) model, trained in Python on 1,797 digit images, exported as weights, running 100% in your browser, predicts what you drew.
weights.json (10 weight vectors + 10 biases + sample digits) is shipped to the site; JavaScript downsamples your drawing to 8×8 and re-runs the exact same softmax math as sklearn's predict_proba.Python · scikit-learn · NumPy · vanilla JavaScript (canvas) · static hosting (Vercel)
train.py: trains the model and exports weights.json · index.html: this demo · vercel.json: security headers