GithubHelp home page GithubHelp logo

Comments (3)

rbodo avatar rbodo commented on August 21, 2024

Hi

The relation
image
between input currents and activations holds only for the first layer (notice upper index 1 vs l in the equation below), because our implementation feeds the activation values as constant currents into the neurons of the input layer. In higher layers, there is no such clean relation anymore, which is why the equation
image
does not contain a reference to the activations a. Instead, we use this equation to establish a connection between a and the spike-rates r, because that will tell us whether the conversion is successful.

from snn_toolbox.

victkid avatar victkid commented on August 21, 2024

@rbodo Thank you so much for your reply. Does the "first layer" you mentioned refer to the input signal or the values after the first activation layer?

Please correct me if I'm wrong. From my understanding, a{i}{1} is the "input signal", for image, it is the normalized pixel value. z_{i}{1} is the spike train of the input. In the paper, it is defined as V_{thr} multiply by the input signal a_{i}{1}. We can also choose Poisson input to generate the spike train in the snntoolbox.

from snn_toolbox.

rbodo avatar rbodo commented on August 21, 2024

Layer index 1 represents the first hidden layer (this is what I meant with "first layer"); index 0 would be the input layer, i.e. the neurons that encode the image pixel values a_{i}^{0}. After just having gone through the equations again, I think you have identified an inconsistency in the paper. The index in relation z_{i}^{1} = V_{thr} * a_{i}^{1} should in fact be 0 instead of 1; this equation holds strictly only for the input neurons. For the first hidden layer, the neuron input z would on average contain the same error terms as in Equ. 5. The overall result is unchanged, but the error terms we derive come in one layer earlier than shown in the paper.

from snn_toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.