JohnMachado11/Neural-Networks-from-Scratch-in-Python
Building neural networks from scratch only with Python and NumPy. This covers coding neurons, layering them, using activation functions, calculating loss, backpropagation, and optimizing parameters.
If you're an aspiring machine learning engineer or data scientist looking to deeply understand how neural networks function, this project helps you build them step-by-step using only Python and NumPy. You'll start with fundamental mathematical concepts and construct a complete neural network from the ground up, gaining clarity on inputs, outputs, and the internal mechanics like activation functions, loss calculation, and backpropagation.
No commits in the last 6 months.
Use this if you want to gain a foundational understanding of neural networks by coding them yourself, rather than just using high-level libraries.
Not ideal if you're looking for a tool to quickly apply pre-built neural network models to solve a specific problem or if you need high-performance deep learning solutions.
Stars
48
Forks
10
Language
Python
License
—
Category
Last pushed
Jul 14, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/JohnMachado11/Neural-Networks-from-Scratch-in-Python"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
digantamisra98/Mish
Official Repository for "Mish: A Self Regularized Non-Monotonic Neural Activation Function" [BMVC 2020]
Sentdex/nnfs_book
Sample code from the Neural Networks from Scratch book.
itdxer/neupy
NeuPy is a Tensorflow based python library for prototyping and building neural networks
vzhou842/cnn-from-scratch
A Convolutional Neural Network implemented from scratch (using only numpy) in Python.
nicklashansen/rnn_lstm_from_scratch
How to build RNNs and LSTMs from scratch with NumPy.