Liking cljdoc? Tell your friends :D

clj-ctrnn

Clojure library for simulating Continuous-Time Recurrent Neural Networks

Installation

Clojars Project

Usage

See the tests for more complete examples.

Make a CTRNN and print activation of one of the neurons for 10 timesteps:

(let [neuron-1 (make-neuron -5 0.5)
      neuron-2 (add-synapse (make-neuron 1 0.5) neuron-1 -20)]
    (loop [t 0
           net (make-ctrnn [neuron-1 neuron-2] 0.01)]
      (println (activation ((:id neuron-2) (:neurons net))))
      (if (< t 0.1)
        (recur (+ t 0.01) (update-ctrnn net)))))

Documentation

Generated codox documentation is available here. Mathematical background is outlined here.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close