Modifying PostPre (STDP) update rule #506
Unanswered
vexing-shusher
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Hi. or later in the forward function: and modify the decaying rule to suit your needs (faster decay in your case). You can also overload this function just for a modified neuron type of your own. Up to you. But surely, we would gladly hear about the motivation behind this idea! Simon |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello to everyone here. The question may seem obvious for some more experienced users of this library (and SNNs in general), but I struggled a lot to find a solution myself and was unable to succeed.
General STDP update rule is formulated as follows:
dW = f(w) * exp(-dt/T), where dt is time difference between post- and pre- spikes. As far as I am concerned, in BindsNET this rule is implemented in a different manner but does the same thing (correct me if I am wrong).
Now let's consider a slightly different update rule, e.g. dW = f(W) *exp[ - (dt/T)^2] (just to illustrate, nothing meaningful). dt here is the time difference between the last pos-t and the last pre-spikes.
How should I tweak the code to achieve that? Where to look? Or is it even possible without rewriting the whole structure (node-connection-network)?
Thanks in advance.
All reactions