Repository navigation
Regenerate the simulation tables of Chen_MSB2009, Fujita_SciSignal2010, Sneyd_PNAS2002, Zheng_PNAS2012 and Perelson_Science1996 - #343
Closed
matthiaskoenig wants to merge 2 commits into
Conversation
The simulations of these four problems were not the model at the nominal parameters of the parameter table (Fujita_SciSignal2010, Sneyd_PNAS2002, Perelson_Science1996) or were the measurements (Zheng_PNAS2012, Benchmarking-Initiative#181). They are simulated again at the nominal parameters, row by row in the order of the measurements; the simulations of Fujita_SciSignal2010 get the current condition ids of the measurements (condition_step_*), the table still named the former ones (model1_data*).
Collaborator
Author
|
@dweindl Could you merge this or better recreate the tables with AMICI v1.2.0 to fix the values (using the simulate script). I would prefer to have the AMICI values here, so we can test that our simulator creates the same values (LLH). |
The table differed from the model at the nominal parameters in 5 of 120 simulations by up to 0.28 % (AKT_PP of model1_data4 at t = 1950: 17.7718 instead of 17.7228). The simulations are the ones of AMICI 1.2.0 (simulate_petab, absolute and relative tolerance 1e-16 and 1e-12), which sbmlsim reproduces to 4e-6; their log-likelihood is -130591.753.
Collaborator
|
Hi Matthias, thanks for the contribution. I moved your commits over to #344
Done in #344 |
Collaborator
Author
|
Perfect. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerates
v1/simulations.tsvof five problems whose simulations are not the model at the nominal parameters, see #278 (comment with the details), #181 and AMICI-dev/AMICI#3503. Closes #181.Only the
simulationcolumn changes (and, for Fujita, the condition ids); every row stays where it was, i.e. the tables keep their columns and are row by row the measurements.Fujita_SciSignal2010model1_data*, which the problem renamed tocondition_step_*Sneyd_PNAS2002Ca_dose_response__5and__6(up to 0.027)Zheng_PNAS2012Perelson_Science1996Chen_MSB2009AKT_PP,model1_data4, t = 1950: 17.7718, the model gives 17.7228)simulate_petab, tolerances 1e-16 / 1e-12), which sbmlsim reproduces to 4e-6Check: the log-likelihood of the tables with
petab.v1.calculate.calculate_llh(petab 0.10.0; the simulations matched to the measurements by row, as the tables carry the values of the noise parameters, whichcalculate_llhcompares as columns) against the reference of AMICI v1.2.0 (tests/benchmark_models/benchmark_models.yaml):Fujita_SciSignal2010Sneyd_PNAS2002Zheng_PNAS2012Perelson_Science1996Chen_MSB2009The llh of
Perelson_Science1996hardly depends on the simulations, the nominalsd_task0_model0_perelson1_Vis 1e5 on thelog10scale; its new simulations agree with an independent integration ofmodel.xmlwith SciPy (solve_ivp, Radau, rtol 1e-12) to 2e-12 relative.How: simulated with sbmlsim (libroadrunner, CVODE with absolute and relative tolerances 1e-14 and 1e-12) on the problems converted with
petab.v2.petab1to2at the nominal values of their parameter tables. The values may differ from an AMICI run in the last digits;src/python/simulate.pywith AMICI should reproduce them within the usual tolerances.