Skip to content

A small autodiff and neural network library patterned on Karpathy's micrograd, but with support for matrices expressed as numpy arrays.

License

Notifications You must be signed in to change notification settings

danielpcox/microgradnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small autodiff and neural network library patterned on Karpathy's micrograd, but with support for matrics and vectors expressed as numpy arrays.

Written for my own clarity, but I hope it helps you too.

  • Install with pip install -e . The only runtime dependency is numpy.
  • Test with pytest.
  • main.py runs a little demo of an MLP doing regression against random data.
  • nbs/demo.ipynb is Karpathy's original demo notebook, adapted to use my library

About

A small autodiff and neural network library patterned on Karpathy's micrograd, but with support for matrices expressed as numpy arrays.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published