forked from jstapmanns/nest-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove irregular spike arrival #20
Merged
akorgor
merged 4 commits into
JesusEV:eprop_bio_feature
from
akorgor:remove-irregular-spike-arrival
Oct 4, 2024
Merged
Remove irregular spike arrival #20
akorgor
merged 4 commits into
JesusEV:eprop_bio_feature
from
akorgor:remove-irregular-spike-arrival
Oct 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@akorgor That's a very impressive plot. Let me test this idea with the N-MNIST task. I will post here the results. |
@akorgor Here the plot Clearly the change, although using the same parameters, does not work very well for this case. Perhaps a parameter resetting might help. I will keep looking into this. |
JesusEV
approved these changes
May 14, 2024
Pull request automatically marked stale! |
* remove `regular_spike_arrival` flag and `P_z_in` since = 1 * do spike-threshold crossing reset at the beginning of the time step
akorgor
force-pushed
the
remove-irregular-spike-arrival
branch
from
October 1, 2024 08:39
c5bae2b
to
28570a8
Compare
… neuron Co-authored-by: JesusEV <43375826+JesusEV@users.noreply.github.com>
Co-authored-by: JesusEV <43375826+JesusEV@users.noreply.github.com>
JesusEV
approved these changes
Oct 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the$t$ , resulting in the following timing in the membrane potential update equation:
regular_spike_arrival
flag and the corresponding mechanism, which was initially in place to reproduce the behavior of the original model. SinceP_z_in=1
that variable is no longer needed and is removed. To match the regular spike arrival at the end of the time step (the commit message erroneously says at the beginning of the time step), the spike threshold crossing reset is moved to the current time stepinstead of the previous
To use the new propagator in the sine waves task requires scaling the spike threshold with the old default propagator$v_\mathrm{th, new} = v_\mathrm{th, old} / (1-\mathrm{exp}(\mathrm{d}t / \tau_\mathrm{m}))$ . To make the sine waves task with the new propagator consistent with the evidence accumulation task and since the convergence benefits from it, the membrane time constants in the system are decreased from 30 ms to 20 ms, leading to a new threshold potential equal to the one in the evidence accumulation task $v_\mathrm{th, new} = 0.03 / (1-\mathrm{exp}(\mathrm{d}t / 20))=0.6$
The convergence on the sine waves task improves with this change: