/micrograd-ad

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

micrograd-ad

A port of the example in micrograd using Haskell and ad. Described in detail in my blog post.

animation

The neural-network implementation is in MLP.hs, and the demo in micrograd-ad.hs. The rest is code to generate the graphics.

To run

Install nix. Then, issue make in the root of the repository. The data will be generated and plotted, with the output in the output directory.