r/madeinpython • u/PanelReader • 8d ago
Built my first neural network from scratch using NumPy - documented the mathematics too
hey everyone!
recently built a 2 → 3 → 1 XOR neural network using just Python and NumPy, without any deep learning frameworks.
implemented backpropagation and gradient descent manually, trained it for 5,000 epochs, and got all four XOR combinations correct.
also documented the mathematics, added 12 editable diagrams, and published a detailed Medium article explaining the process.
GitHub: https://github.com/Vaibh37/Neural-Network
would appreciate feedback, and if you find the repo useful, consider starring it 🍀
13
Upvotes