Modifying PostPre (STDP) update rule #506
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 |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions