Skip to content

CharlieKerfoot/haskgrad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haskgrad

A reverse-mode automatic differentiation engine written in Haskell, inspired by micrograd. Supports scalar and tensor operations with a neural network module, demonstrated by training an MLP to learn XOR.

Quick start

cabal build
cabal run haskgrad

Change the seed in Main.hs to get different results.

  rng <- mkRNG [SEED]

Dependencies

  • base ^>=4.18.3.0
  • containers

About

Tensor Autograd Engine built out in Haskell (inspired by Karpathy's micrograd).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors