Replies: 1 comment 1 reply
-
Adding another layer to a network is simple as adding another line (add_connection) to your script. Each layer can be in different size or shape (i.e. 3D) and can have different learning scheme or none at all using the definition of the Connection object see here |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Up until now I have been using BindsNet to model and train a network with no hidden layers. I am now trying to add a hidden layer between the input and output layer. I have a couple of questions if anybody can help:
Do all 3 layers have to have the same number of neurons, or can all 3 layers have different layers,
e.g. 8 input nodes --> 20 hidden LIF nodes --> 2 output LIF nodes.
How does BindsNet implement supervised learning with hidden layers? Previously I have been clamping the output neuron to spike for the correct class to match the input sample label. Can this training code be the same with just adding the hidden layer to the network, or do you have to train the hidden layer separately?
Thanks for helping!
Beta Was this translation helpful? Give feedback.
All reactions