This repository is the one-to-one translation of Julia's package https://github.com/insysbio/LikelihoodProfiler.jl of version 0.3.0.
Currently the Python's version is not maintained. Use https://github.com/insysbio/LikelihoodProfiler.py/issues if any help wanted.
- LikelihoodProfiler is a package for identifiability analysis and confidence intervals evaluation which was originally
- written in Julia language. See https://github.com/insysbio/LikelihoodProfiler.jl
- If your OS is Windows, you have to install NLopt wheel. Go to
- https://www.lfd.uci.edu/~gohlke/pythonlibs/#nlopt
Download the wheel which suits you and install it with:
pip install NLopt-***.whl
- Then clone LikelihoodProfiler from
- https://github.com/insysbio/LikelihoodProfiler.py.git
Install LikelihoodProfiler requirements with:
pip install -r requirements.txt
Plot simple profile:
from likelihoodprofiler import get_interval f_3p_1im_dep = lambda x: 5.0 + (x[0]-3.0)**2 + (x[0]-x[1]-1.0)**2 + 0*x[2]**2 res0 = get_interval( [3., 2., 2.1], 0, lambda x: f_3p_1im_dep(x), "LIN_EXTRAPOL", loss_crit = 9) res0.plot()