# Built my first neural network from scratch using NumPy - documented the entire learning process — retained record

> Retained reddit record from reddit:developersIndia.

Canonical: https://highsignal.app/data/records/abef018b60021559

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:developersIndia)  published 2026-10-19 12:10 ingested 2026-10-20 02:36

[original source ↗](https://www.reddit.com/r/developersIndia/comments/1x9v6xb/built_my_first_neural_network_from_scratch_using/)

## retained text



```
hey everyone!

I've been learning neural networks from first principles and recently finished building a 2 → 3 → 1 XOR network using Python and NumPy.

implemented forward propagation, backpropagation and gradient descent manually. after 5,000 epochs, it correctly classifies all four XOR combinations.

also added mathematical notes, training visualizations and 12 editable diagrams to the repository.

wrote a detailed Medium article explaining the mathematics and implementation too.

GitHub: [https://github.com/Vaibh37/Neural-Network](https://github.com/Vaibh37/Neural-Network)

Medium: [https://medium.com/@devvaibhav37/building-a-neural-network-from-scratch-the-mathematics-behind-learning-xor-10441e674a69](https://medium.com/@devvaibhav37/building-a-neural-network-from-scratch-the-mathematics-behind-learning-xor-10441e674a69)

would appreciate feedback, especially on the mathematical explanations and code. 🍀
```



document fetched 2026-10-20 00:24 · canonical https://reddit.com/r/developersIndia/comments/1x9v6xb/built_my_first_neural_network_from_scratch_using
