Hélder Monteiro
Experiment · weights written by hand

WP-CharNet

An experiment: a handwritten-character classifier for digits, A–Z and a–z, whose weights were written by hand instead of trained.

Classes62
Weights11,679 hand-written lines
TrainingNone

How it works

Your drawing is scaled into a 28×28 picture, the way the MNIST dataset does it. The network then builds named feature maps: strokes, stroke ends, holes, openings and junctions. Each character has one hand-written rule per handwriting style, and "referees" settle close calls between look-alikes.

There is no training: every weight comes from one line of a plain-text list (11,679 lines), each with a written reason. It runs in your browser, and nothing you draw is sent anywhere.

Results

Digits, among digits (MNIST, 3,000 images)89.3%
Letters, among letters (EMNIST, 5,200 images)73.1%
All 62 classes at once61–62%

Measured on training images set aside and never looked at while the weights were written; no separate test split has been run yet.

Limits

Many characters look alike once scaled: 0, O and o; 1, I and l; C and c. When all 62 classes compete, many digits go to a look-alike letter. That's why the demo lets you narrow it to digits or letters.