NanoNet project preview

An educational neural network framework built from scratch with NumPy to explore how tensor operations, gradients, and parameter updates combine into a learning system.

Project overview

What I built

NanoNet implements the core mechanics that higher-level machine-learning frameworks abstract away. It includes a custom Tensor engine that builds computational graphs and propagates gradients, a NumPy multilayer perceptron, an alternative manually differentiated MLP, and an Adam optimizer. The project also uses numerical gradient checking and automated tests to validate the implementations. Its MNIST example reported 95.2% accuracy in the latest full evaluation, although the main goal is understanding the mechanics rather than benchmarking performance.

Category

AI/ML and Agents

Timeline

Ongoing

Scope

8 technologies

Delivery notes

Highlights

The practical work, decisions, and working systems that shaped this project.

  • Custom Tensor engine with computational graph construction
  • Automatic differentiation and manual backpropagation
  • NumPy multilayer perceptron with forward pass, training, and prediction
  • Adam optimizer, cross-entropy loss, sigmoid, and softmax operations
  • Numerical gradient checking and automated tests with GitHub Actions
  • MNIST and bag-of-words examples

Technical foundation

Built with

The tools and platforms used to move the idea from concept to a working project.

PythonNumPyAutomatic DifferentiationBackpropagationMLPsAdampytestGitHub Actions

Keep exploring

Other projects

View all projects