This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Main | |
-- NN | |
function setup() | |
-- Neural Network of 3 layers with 3 inputs | |
local x = {Value(1), Value(1), Value(1)} | |
local layer1 = Layer(3, 4) -- layer of 4 neurons with 3 inputs | |
local layer2 = Layer(4, 4) -- layer of 4 neurons with 4 inputs | |
local layer3 = Layer(4, 1) -- layer of 1 neuron with 4 inputs | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# this script does absolutely ZERO error checking. however, it worked | |
# for me on a RHEL 6.3 machine on 2012-08-08. clearly, the version numbers | |
# and/or URLs should be made variables. cheers, [email protected] | |
mkdir mosh | |
cd mosh |