This PR introduces slight changes in API: instead of providing list of functions that will be used to extract relevant features from the simulated traces, the dictionary should be provided instead. Keys should be names of output variables as defined in the model equations, while values should be lists (with the same number of elements) where each element of the list is callable that returns a summary feature.
So instead of:
This enables the user to simultaneously infer unknown parameters from different output variables.
Additional updates:
docstrings typos are fixed;
the relevant examples are aligned with the changes in the API ;
default level value in some function in Inferencer are now changed, so the user should not have to worry about namespaces even when using a flexible interface, i.e., when using infer_step method manually.
Resolves #53.
This PR introduces slight changes in API: instead of providing list of functions that will be used to extract relevant features from the simulated traces, the dictionary should be provided instead. Keys should be names of output variables as defined in the model equations, while values should be lists (with the same number of elements) where each element of the list is callable that returns a summary feature. So instead of:
goes:
This enables the user to simultaneously infer unknown parameters from different output variables.
Additional updates:
level
value in some function inInferencer
are now changed, so the user should not have to worry about namespaces even when using a flexible interface, i.e., when usinginfer_step
method manually.