Skip to content

eighttrigrams/diffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diffy

See also: gym

Neural Network for Clojure

  • Dense layer with a single or multiple bias values
  • Sigmoid activation function
  • 3 Matrix implementations:
    • native Clojure vectors
    • clojure.core.matrix
    • uncomplicate.neanderthal.native

The Neanderthal implementation gets enabled by uncommenting the corresponding dependencies in deps.edn and the :require and fixture :each entries in diffy_test.clj.

Tests

$ clj -Atest

Diffy Examples

Mnist

Get mnist_784_csv.csv from https://datahub.io/machine-learning/mnist_784

$ clj -M -m examples.mnist          

Uses clojure.core.matrix. Neanderthal implementation can be enabled.

Cartpole

$ clj -M -m examples.cartpole    ;; classic cartpole

About

Neural Network for Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published