DINJO 0.1¶
DINJO Is Not Just An Optimizer is a Python framework designed for the optimization of initial value problems’ parameters.
Lets say you have some ‘experimental’ data of a state variable \(S\) corresponding to the initial value problem
where \(\mathbf{p}\) is a list of parameters, \(\mathbf{f}_0\) and \(t_0\) are constants.
If you want to know the optimal value of \(\mathbf{p}\) so that the solution of the initial value problem fits your experimental data, you can use DINJO to get an approximate value of the optimal \(\mathbf{p}\).
Getting Started¶
Install DINJO using PyPI:
pip install dinjo
Or directly from the latest dev versioN, using source code:
git clone https://github.com/fenfisdi/dinjo
cd dinjo
python setup.py install
Start using DINJO!
The Source Code¶
dinjoPackage source code
dinjo.modelDefine your own initial value problems (IVPs) and solve them using this module.
dinjo.optimizerDefine your IVP optimization problem and solve it using this module.
dinjo.predefinedSome predefined models
dinjo.predefined.epidemiology._seir_modelSEIR initial value problem.
dinjo.predefined.epidemiology._seirv_modelSEIRV initial value problem.
dinjo.predefined.epidemiology._seirv_fixedSEIR initial value problem.
dinjo.predefined.epidemiology._sir_modelSIR initial value problem.
dinjo.predefined.physics._harmonic_oscillatorUnit mass Harmonic Oscillator initial value problem. See Examples.