News for hackers. Stuff that matters.
Re:Neural Network Visualisation in Clojure by aswanson on Wednesday April 10, 2013 @07:14AM (#5524399)
What is the color scale for the connection weight strength?
Re:Neural Network Visualisation in Clojure by c-oreills on Wednesday April 10, 2013 @07:29AM (#5524447)
From github:

(defn weight-colour ([^double weight] (Color. (clamp-colour-value (Math/tanh (- weight))) (clamp-colour-value (Math/tanh weight)) 0.0)))

So when weight is 0, it's black. As the weight gets more positive, the colour gets greener, and as the weight gets more negative, the colour gets redder. clamp-colour-value makes sure the colour component doesn't go outside the interval (0,1)

tanh curve shown here: http://upload.wikimedia.org/wikipedia/commons/7/76/Sinh_cosh...

Re:Neural Network Visualisation in Clojure by mikegioia on Wednesday April 10, 2013 @09:41AM (#5525050)
I'm getting a 404 on that URL, I think you forgot the g in .svg :P
Re:Neural Network Visualisation in Clojure by c-oreills on Wednesday April 10, 2013 @09:49AM (#5525096)