yrmo / cudagrad

Toy autograd engine
MIT License
0 stars 1 forks source link

Make `moons.py` MLP for two moons dataset #29

Closed yrmo closed 9 months ago

yrmo commented 9 months ago

https://scikit-learn.org/stable/modules/generated/sklearn.datasets.make_moons.html# https://github.com/karpathy/micrograd/blob/master/demo.ipynb

yrmo commented 9 months ago

Karpathy gets 100% on this with MLP(2, [16, 16, 1]) # 2-layer neural network, I think XOR MLP is too simple. Good time to make MLP generic