synaptic
synaptic copied to clipboard
Allow the building of a 2 layer Network
I'd love to be able to build a 2 layer Network, which would be exactly like any other Network made with the constructor, but it would only have 2 layers. I need this so I can clear the context of layers, and so I can export it to JSON.
You can do it now. Suppose, you want to write a perceptron with 1 input, 2 layers with 4 neurons each and 1 output, then you'd write it like this var myNetwork = new Architect.Perceptron(1, 4, 4, 1).