-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store all calibrated models in
Problem.state
; update all notebooks (#…
…134) * fix type error list[Model] -> Models * support provision of subspace petab problem to `Model.from_yaml`. backwards compatibility: add `Model.get_hash`, support `predecessor_model_hash=None` input * backwards compatibility: support `Models` construction from single model YAML * add all iteration calibrated models to problem state in `end_iteration` * add `Problem._state`, currently just stores all calibrated models from all iterations * workflow_python notebook: demo `Models.df`; demo `Problem.state.models` * start tracking iteration in `State` * Update test_cases/0009/README.md --------- Co-authored-by: Daniel Weindl <[email protected]>
- Loading branch information
Showing
23 changed files
with
253 additions
and
201 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
These notebooks need to be run to see the output. Pre-computed output can be viewed in the documentation, at https://petab-select.readthedocs.io/en/stable/examples.html |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
model_subspace_id: M1_4 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
criteria: | ||
AIC: 15 | ||
model_hash: M1_4-000 | ||
model_subspace_petab_yaml: ../model_selection/petab_problem.yaml | ||
estimated_parameters: | ||
k2: 0.15 | ||
k3: 0.0 | ||
iteration: 1 | ||
model_hash: M1_4-000 | ||
model_id: M1_4-000 | ||
model_subspace_id: M1_4 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
parameters: | ||
k1: 0 | ||
k2: estimate | ||
k3: estimate | ||
petab_yaml: ../model_selection/petab_problem.yaml | ||
predecessor_model_hash: null | ||
predecessor_model_hash: M1_2-000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
model_subspace_id: M1_7 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
criteria: | ||
AIC: 20 | ||
model_hash: M1_7-000 | ||
model_subspace_petab_yaml: ../model_selection/petab_problem.yaml | ||
estimated_parameters: | ||
k1: 0.25 | ||
k2: 0.1 | ||
k3: 0.0 | ||
iteration: 2 | ||
model_hash: M1_7-000 | ||
model_id: M1_7-000 | ||
model_subspace_id: M1_7 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
parameters: | ||
k1: estimate | ||
k2: estimate | ||
k3: estimate | ||
petab_yaml: ../model_selection/petab_problem.yaml | ||
predecessor_model_hash: null | ||
predecessor_model_hash: M1_4-000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,52 @@ | ||
- criteria: | ||
AIC: 180 | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_hash: M1_0-000 | ||
model_id: M1_0-000 | ||
model_subspace_id: M1_0 | ||
- model_subspace_id: M1_0 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
criteria: | ||
AIC: 180 | ||
model_hash: M1_0-000 | ||
model_subspace_petab_yaml: ../model_selection/petab_problem.yaml | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_id: M1_0-000 | ||
parameters: | ||
k1: 0 | ||
k2: 0 | ||
k3: 0 | ||
petab_yaml: ../model_selection/petab_problem.yaml | ||
predecessor_model_hash: null | ||
- criteria: | ||
AIC: 100 | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_hash: M1_1-000 | ||
model_id: M1_1-000 | ||
model_subspace_id: M1_1 | ||
predecessor_model_hash: virtual_initial_model- | ||
- model_subspace_id: M1_1 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
criteria: | ||
AIC: 100 | ||
model_hash: M1_1-000 | ||
model_subspace_petab_yaml: ../model_selection/petab_problem.yaml | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_id: M1_1-000 | ||
parameters: | ||
k1: 0.2 | ||
k2: 0.1 | ||
k3: estimate | ||
petab_yaml: ../model_selection/petab_problem.yaml | ||
predecessor_model_hash: null | ||
- criteria: | ||
AIC: 50 | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_hash: M1_2-000 | ||
model_id: M1_2-000 | ||
model_subspace_id: M1_2 | ||
predecessor_model_hash: virtual_initial_model- | ||
|
||
- model_subspace_id: M1_2 | ||
model_subspace_indices: | ||
- 0 | ||
- 0 | ||
- 0 | ||
criteria: | ||
AIC: 50 | ||
model_hash: M1_2-000 | ||
model_subspace_petab_yaml: ../model_selection/petab_problem.yaml | ||
estimated_parameters: {} | ||
iteration: 1 | ||
model_id: M1_2-000 | ||
parameters: | ||
k1: 0.2 | ||
k2: estimate | ||
k3: 0 | ||
petab_yaml: ../model_selection/petab_problem.yaml | ||
predecessor_model_hash: null | ||
predecessor_model_hash: virtual_initial_model- |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.