tinytorch/milestones/01_1958_perceptron/README.md
Frank Rosenblatt's Perceptron was the first trainable artificial neural network that could learn from examples. Demonstrated in 1957 and published in 1958, it sparked the first AI boom and demonstrated that machines could actually learn to recognize patterns, launching the neural network revolution.
This milestone recreates that pivotal moment using YOUR Tiny🔥Torch implementations.
A single-layer perceptron for binary classification, demonstrating:
Progressive Requirements:
This milestone uses progressive revelation with 2 scripts:
Purpose: Demonstrate the problem (untrained model)
When to run: After Module 04 (before learning training)
Purpose: Demonstrate the solution (trained model)
When to run: After Module 08 (after learning training)
The architecture isn't enough - the model only becomes "intelligent" through training. This milestone drives home the distinction between:
This is the foundation for understanding all of deep learning!
cd milestones/01_1958_perceptron
# Step 1: See the problem (run after Module 04)
python 01_rosenblatt_forward.py
# Step 2: See the solution (run after Module 08)
python 02_rosenblatt_trained.py
After completing this milestone, you'll understand:
You've recreated the birth of neural networks!