Positive Weights
Negative Weights
Interactive Explainer · Farsi Digits
1
Draw Input Digit
28 × 28 pixel grid — draw any Farsi digit ۰–۹
2
Preprocessing Pipeline
📥
Raw Input
28 × 28 = 784 pixel values (0–1)
✂️
Center & Crop
Bounding box + scale to 20 × 20
🗜️
Avg Pool 2 × 2
→ 14 × 14 = 196 features + 1 bias
3
Feedforward Propagation 196 → 100 → 10
Active
Neurons
Max
Activation
Softmax
Confidence
4
Network Prediction
?
Awaiting input
Draw a digit on the canvas to trigger forward propagation.
σ
Softmax Distribution
Draw a digit to see
the probability distribution