Skip to content
#

from-scratch-in-python

Here are 26 public repositories matching this topic...

Over 4 weeks, I manually developed a fully connected neural network using only NumPy—without any ML frameworks. It uses Xavier and He initialization, Leaky ReLU activation, L2 regularization, and learning rate decay. The model achieves up to 91% test accuracy and visualizes training, validation, and test losses for early stopping and evaluation.

  • Updated Jun 30, 2025
  • Python

This repository explores building a character-level transformer decoder in PyTorch, similar to GPT while focusing more on understanding individual components. My goal is to gain deep transformer knowledge and see if character-level learning improves handling of unseen words. The code allows for hyperparameter tuning and experiment customization.

  • Updated Aug 30, 2024
  • Jupyter Notebook

A minimal NumPy-based implementation of a 3-layer convolutional neural network (CNN) from scratch — including custom forward and backward passes for conv, ReLU, pooling, affine, and softmax layers. Perfect for learning how CNNs actually work under the hood.

  • Updated May 20, 2025
  • Jupyter Notebook

Improve this page

Add a description, image, and links to the from-scratch-in-python topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the from-scratch-in-python topic, visit your repo's landing page and select "manage topics."

Learn more