Skip to content
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

Add spike support #60

Merged
merged 12 commits into from Aug 13, 2021
Merged

Add spike support #60

merged 12 commits into from Aug 13, 2021

Conversation

akapet00
Copy link
Member

Resolves #54.

  • added parameter restart to Inferener class. If it is set to true, inferencer object will perform the complete inferencer cycle from the beginning, otherwise it will pass trainer posterior as the proposal from the previous training procedure and it will perform multi-round focused inference.
  • added tqdm progress bar instead of manually logging the current round of inference.
  • added spike support. The user can now handle spikes as any other output variable (see examples IF_sbi.py and hh_sbi_simple_interface.py):
inferencer = Inferencer(dt=..., model=...,
                        input={'I': input_trace},
                        output={'spikes': spike_times_list},
                        features={'spikes': spike_features_list},
                        ...)
  • all examples are updated and ready to use
  • minor docstrings fixes are also added

@akapet00 akapet00 added this to In progress in sbi integration (GSoC 2021) via automation Aug 12, 2021
@akapet00 akapet00 moved this from In progress to Review in progress in sbi integration (GSoC 2021) Aug 12, 2021
@akapet00 akapet00 removed the request for review from mstimberg August 13, 2021 09:23
@akapet00
Copy link
Member Author

Merging this to sbi_support now, if any changes are required, I can do it afterwards.

@akapet00 akapet00 merged commit 15de949 into sbi_support Aug 13, 2021
@akapet00 akapet00 deleted the add_spike_support branch August 13, 2021 09:24
sbi integration (GSoC 2021) automation moved this from Review in progress to Done Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant