brian2modelfitting

Model fitting toolbox for the Brian 2 simulator

https://github.com/brian-team/brian2modelfitting

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    4 of 8 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords from Contributors

differential-equations neuroscience biological-simulations brian brian2 code-generation computational-neuroscience simulation-framework spiking-neural-networks
Last synced: 10 months ago · JSON representation

Repository

Model fitting toolbox for the Brian 2 simulator

Basic Info
Statistics
  • Stars: 17
  • Watchers: 7
  • Forks: 6
  • Open Issues: 13
  • Releases: 1
Created over 12 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

brian2modelfitting

Model fitting toolbox for Brian 2 simulator.

DOI

The package brian2modelfitting allows the user to find the best fit of the unknown free parameters for recorded traces and spike trains. It also supports simulation-based inference, where instead of point-estimated parameter values, a full posterior distribution over the parameters is computed.

By default, the toolbox supports a range of global derivative-free optimization methods, that include popular methods for model fitting: differential evolution, particle swarm optimization and covariance matrix adaptation (provided by the Nevergrad, a gradient-free optimization platform) as well as Bayesian optimization for black box functions (provided by scikit-optimize, a sequential model-based optimization library). On the other hand, simulation-based inference is the process of finding parameters of a simulator from observations by taking a Bayesian approach via sequential neural posterior estimation, likelihood estimation or ration estimation (provided by the sbi), where neural densitiy estimator, a deep neural network allowing probabilistic association between the data and underlying parameter space, is trained. After the network is trained, the approximated posterior distribution is available.

Documentation

Documentation Status

The full documentation is available at http://brian2modelfitting.readthedocs.org.

Testing status

Build Status Coverage Status

Installation

Install brian2modelfitting from the Python package index via pip: pip install brian2modelfitting

The basic install only supports the optimization methods provided by the Nevergrad library. To install additional algorithms, support for simulation-based inference, and other features, you can install the optional dependencies:

| extra | description | install command | |---------|---------------------------------------------------------------------------------------|-------------------------------------------| | sbi | simulation-based inference with sbi | pip install 'brian2modelfitting[sbi]' | | skopt | optimization with sckikit-optimize | pip install 'brian2modelfitting[skopt]' | | algos | additional algorithms for Nevergrad | pip install 'brian2modelfitting[algos]' | | efel | FeatureMetric with eFEL electrophysiology features | pip install 'brian2modelfitting[efel]' | | test | framework to run the test suite | pip install 'brian2modelfitting[test]' | | docs | framework to build the documentation | pip install 'brian2modelfitting[docs]' | | all | all of the above dependencies | pip install 'brian2modelfitting[all]' |

```

License

The model fitting toolbox is released under the terms of the CeCILL 2.1 license and is available here.

Use

Please report issues at the GitHub issue tracker or at the Brian 2 discussion forum.

Owner

  • Name: Brian simulator
  • Login: brian-team
  • Kind: organization
  • Location: Paris, France

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
Last Year
  • Issues event: 1
  • Watch event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 502
  • Total Committers: 8
  • Avg Commits per committer: 62.75
  • Development Distribution Score (DDS): 0.552
Past Year
  • Commits: 32
  • Committers: 2
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.031
Top Committers
Name Email Commits
Marcel Stimberg m****g@i****r 225
Aleksandra Teska a****a@g****m 148
antelk a****0@f****r 117
Eslam Khaled e****4@g****m 5
romainbrette r****e@i****r 3
Dan Goodman d****b@t****t 2
Marcel Stimberg m****g@s****r 1
thesamovar d****n@e****r 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 40
  • Total pull requests: 37
  • Average time to close issues: 5 months
  • Average time to close pull requests: 24 days
  • Total issue authors: 8
  • Total pull request authors: 5
  • Average comments per issue: 1.1
  • Average comments per pull request: 2.89
  • Merged pull requests: 33
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mstimberg (20)
  • romainbrette (9)
  • bdevans (4)
  • akapet00 (3)
  • Jasmine969 (1)
  • gvignoud (1)
  • eslam69 (1)
  • michmgee (1)
Pull Request Authors
  • mstimberg (24)
  • akapet00 (9)
  • eslam69 (2)
  • alTeska (1)
  • pb663 (1)
Top Labels
Issue Labels
enhancement (11) bug (5) question (2)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 19 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 3
  • Total maintainers: 3
pypi.org: brian2modelfitting

Modelfitting Toolbox for the Brian 2 simulator

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 19 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 13.3%
Stargazers count: 15.2%
Average: 18.3%
Dependent repos count: 21.7%
Downloads: 31.5%
Last synced: 11 months ago

Dependencies

.github/workflows/tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
pyproject.toml pypi
  • brian2 >=2.2
  • nevergrad >=0.4
  • numpy >=1.21
  • pandas *
  • scikit-learn >=0.22
  • tqdm *