Coder Social home page Coder Social logo

Comments (3)

lucifer2859 avatar lucifer2859 commented on May 28, 2024 1

I want to verify if Norse can replicate the results of other frameworks (SpikingJelly and SNNTorch), and finally I found that the "lif_feed_forward_integral" function could be used to do so.

from norse.

Jegp avatar Jegp commented on May 28, 2024

Good question @lucifer2859. Let me provide a quick answer and a somewhat more elaborate.

Quickly, yes there are delay free implementations for some neurons. But not for all. Luckily, it's straightforward to change existing neurons to not include the delay, simply by integrating the incoming current before calculating the neuron output (and not after, as it's done in some cases).

The slightly longer answer is that you're hitting a longer discussion we've had here #326 and here #325. The main problem, as I see it, is that Norse uses forward Euler integration, which means that we can efficiently encode our neuron dynamics, but slightly inaccurately compared to other solvers.

I'm happy to enter a discussion about how to do this more efficiently. I'm also equally happy to standardize the code-base so we have the same behavior everywhere. PR #326 implements this for quite some neuron models, and it would be natural to extend this.

Coming back to your question, can I ask about your use-case? Do you have a particular reason for requiring integrations without delays?

from norse.

Jegp avatar Jegp commented on May 28, 2024

Happy to hear that :-)
Feel free to re-open if needed.

from norse.

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.