Skip to content

Commit

Permalink
documentation change
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Dec 20, 2024
1 parent a4ebfa0 commit bc91928
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,7 @@ $RECYCLE.BIN/
/tests/test_data/observ*
/tests/test_data/parameter*
temp_dir
temp_selection
tmp_selection
famos*
.DS_Store
10 changes: 2 additions & 8 deletions basico/petab/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,11 @@ def copasi_aic():
def default_evaluation():
"""Default evaluation of current model:
* runs particle swarm for 600 iterations followed by
* levenberg marquardt
* runs genetic algorithm for 30 generations
* refines using nl2sol for 1000 iterations
:return: found parameter values
"""
#logger.debug('running ps\n')
#basico.run_parameter_estimation(method='Particle Swarm', update_model=True,
# settings={'method': {'Iteration Limit': 600}})
logger.debug('running ga, 30gens\n')
basico.run_parameter_estimation(method=basico.PE.GENETIC_ALGORITHM_SR, update_model=True,
settings={'method': {
Expand All @@ -69,8 +65,6 @@ def default_evaluation():
'Iteration Limit': 1000,
}}
)
# logger.debug('running lm')
# sol = basico.run_parameter_estimation(method='Levenberg - Marquardt', update_model=True)
logger.debug('evaluation done')
return sol

Expand Down
18 changes: 5 additions & 13 deletions docs/notebooks/Working_with_PEtab.ipynb

Large diffs are not rendered by default.

0 comments on commit bc91928

Please sign in to comment.