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 sbi wrapper class #49

Merged
merged 25 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bb63b99
fix tqdm import and add some stylistic improvements
Jun 16, 2021
76ea512
add Inferencer class to __all__
Jun 16, 2021
b05f789
add sbi in requirements
Jun 16, 2021
bf739ae
add sbi as optional dependency
Jun 16, 2021
ad3e8ca
add minor stylistic changes
Jun 16, 2021
0e9de9e
first steps into the development of sbi wrapper class
Jun 16, 2021
e8f91fd
update gitignore with sbi-logs directory
Jun 17, 2021
b7afcdd
Fix the location of sbi_logs in gitignore
Jun 18, 2021
fc9a87f
Add example for simulation-based inference
Jun 18, 2021
c72c0d2
[WIP] Add multi-trace support
Jun 18, 2021
2346e01
Further progress of train method
Jun 19, 2021
5d0917d
add multi-round inference support
Jun 19, 2021
b57b0e2
add support for multiple output variables
Jun 19, 2021
6550855
use tqdm.auto.trange instead of tqdm.trange
Jun 24, 2021
620aa2a
add double backticks instead of single backticks in docstrings
Jun 24, 2021
948088f
add cleaner extraction of recorded values
Jun 24, 2021
8580e42
add seperate method for visualization and add method for generating f…
Jun 24, 2021
d719543
enable train to take a list of functions for summary feature extraction
Jun 24, 2021
eb1e512
update according to changes in Inferencer class
Jun 24, 2021
ba37935
add visualization of fitted traces
Jun 24, 2021
32085fe
fix docstrings to work well with sphinx
Jun 24, 2021
5763c47
rename train to infere and additional refactoring
Jun 25, 2021
49f673e
Remove plt.show from pairplot
mstimberg Jun 25, 2021
1d79aaf
Adapt example to train→infere rename
mstimberg Jun 25, 2021
ceb7348
Moving attributes into Inferencer.__init__
mstimberg Jun 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ target/

# Installation and auto-generated files
brian2modelfitting.egg-info

# sbi logs
examples/sbi-logs/
4 changes: 3 additions & 1 deletion brian2modelfitting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from .tests import run as run_test
from .fitter import *
from .inferencer import Inferencer
from .optimizer import *
from .metric import *
from .simulator import *
Expand All @@ -16,4 +17,5 @@
'Simulator', 'RuntimeSimulator', 'CPPStandaloneSimulator',
'MSEMetric', 'Metric', 'GammaFactor', 'FeatureMetric',
'SpikeMetric', 'TraceMetric', 'get_gamma_factor', 'firing_rate',
'Fitter', 'SpikeFitter', 'TraceFitter', 'OnlineTraceFitter']
'Fitter', 'SpikeFitter', 'TraceFitter', 'OnlineTraceFitter',
'Inferencer']
Loading