Comments (1)
I think we can think of this as solved.
Even though we do not provide feature extraction by using eFEL
or some other library behind the scenes, the user can manually use eFEL
or any other external library of choice to extract features.
See for example this simple code snippet:
dt = ...
eqs = ...
inferencer = Inferencer(dt=dt, model=eqs,
input=...,
output=...,
features={'v': [lambda x: x.mean(),
lambda x: x.std(),
lambda x: x.max()]},
method=...,
threshold=...,
refractory=...,
param_init=...)
what the user could do is to define additional function that will use any external library.
Let's say that, for whatever the reason is, the potentially interesting feature to learn the posterior could be the sample entropy.
The user would just have to import the library of choice that is able to compute this and wrap it inside the callable as follows:
(Here I use antropy
because of its user friendliness)
import antropy as ant
...
sample_entropy(x):
return ant.sample_entropy(x)
...
dt = ...
eqs = ...
inferencer = Inferencer(dt=dt, model=eqs,
input=...,
output=...,
features={'v': [lambda x: x.mean(),
lambda x: x.std(),
lambda x: x.max()],
sample_entropy},
method=...,
threshold=...,
refractory=...,
param_init=...)
from brian2modelfitting.
Related Issues (20)
- Temporal weighting of error
- Dynamical coupling HOT 1
- Investigate bug with nevergrad 0.3 HOT 1
- Interface with sequential optimization algorithms HOT 2
- Bug with last merge HOT 2
- nevegrad 'instrumentation' problem HOT 2
- Typo in the exception message at the assertion of optimizer's parent class HOT 1
- Create class to wrap first stages of sbi HOT 1
- Investigate using dimensionality-reduction methods on outputs HOT 7
- Store simulation/training results HOT 4
- Split up simulations if necessary HOT 2
- Enable all inference methods included in `sbi` HOT 2
- Inestigate additional visualization techniques of parameter space
- Support multiple output variables for sbi
- Support spikes in sbi
- Add tests for sbi
- Add documentation for sbi
- Refactor `Inferencer`/`Fitter`
- Enable GPU support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brian2modelfitting.