Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization methods #36

Merged
merged 30 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
18d4102
add viz methods; example notebook
dilpath Mar 8, 2023
4aa6e8f
plot: scatter_criterion_vs_n_estimated; relative criterion
dilpath Mar 8, 2023
c680ced
graph iterations
dilpath Mar 14, 2023
be07a38
iterations: fix for arbitrary predecessors
dilpath Mar 14, 2023
e0d1178
remove latex
dilpath Mar 14, 2023
ce1b305
typo
dilpath Mar 14, 2023
ddda4c8
fix parameter names
dilpath Mar 14, 2023
6800f1c
custom colors
dilpath Mar 14, 2023
2286198
handle other missing labels
dilpath Mar 14, 2023
9fbbbdf
model IDs default labels
dilpath Mar 14, 2023
4e9574b
Merge branch 'develop' into viz
dilpath Mar 6, 2024
c235a7b
work towards nicer graph_iteration_layers
dilpath Mar 26, 2024
e9165ab
Merge branch 'develop' into viz
dilpath Nov 11, 2024
9acd7e2
Merge branch 'develop' into viz
dweindl Nov 12, 2024
aee656b
ruff
dweindl Nov 12, 2024
e6f9f71
add .plot to sphinx
dweindl Nov 12, 2024
2828425
Merge branch 'develop' into viz
dilpath Nov 18, 2024
f3ef04e
add upset plot
dilpath Nov 18, 2024
14adba0
add viz notebook to rtd
dilpath Nov 18, 2024
874c4fd
unfix doc depedencies
dilpath Nov 18, 2024
35c53e0
fix docs
dilpath Nov 18, 2024
4ab2f82
closes #104
dilpath Nov 18, 2024
d08cefe
use actual criterion
dilpath Nov 18, 2024
89ab673
review
dilpath Nov 18, 2024
f33f158
move vis deps to optional dependencies
dilpath Nov 18, 2024
cbfa415
jitter scatter
dilpath Nov 18, 2024
f9aa005
review; small refactor of default plot options
dilpath Nov 18, 2024
7fc4b9c
Apply suggestions from code review
dilpath Nov 18, 2024
85248c0
leave plot out of main module
dilpath Nov 18, 2024
8738f8c
color table
dilpath Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ petab-select Python API
petab_select.model_space
petab_select.model_subspace
petab_select.petab
petab_select.plot
petab_select.problem
petab_select.ui
1 change: 1 addition & 0 deletions doc/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Various example notebooks.
:maxdepth: 1

examples/example_cli_famos.ipynb
examples/visualization.ipynb
examples/workflow_cli.ipynb
examples/workflow_python.ipynb
115 changes: 115 additions & 0 deletions doc/examples/calibrated_models/calibrated_models.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
- criteria:
AICc: 37.97523003111246
NLLH: 17.48761501555623
estimated_parameters:
sigma_x2: 4.462298385653177
model_hash: M_0-000
model_id: M_0-000
model_subspace_id: M_0
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: 0
k2: 0
k3: 0
petab_yaml: petab_problem.yaml
predecessor_model_hash: virtual_initial_model
- criteria:
AICc: -0.1754060811089051
NLLH: -4.0877030405544525
estimated_parameters:
k3: 0.0
sigma_x2: 0.12242920113658744
model_hash: M_1-000
model_id: M_1-000
model_subspace_id: M_1
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: 0.2
k2: 0.1
k3: estimate
petab_yaml: petab_problem.yaml
predecessor_model_hash: M_0-000
- criteria:
AICc: -0.27451405630430337
NLLH: -4.137257028152152
estimated_parameters:
k2: 0.10147827639089564
sigma_x2: 0.12142256779953603
model_hash: M_2-000
model_id: M_2-000
model_subspace_id: M_2
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: 0.2
k2: estimate
k3: 0
petab_yaml: petab_problem.yaml
predecessor_model_hash: M_0-000
- criteria:
AICc: -0.7053270517931587
NLLH: -4.352663525896579
estimated_parameters:
k1: 0.20160888007873565
sigma_x2: 0.11713858557052499
model_hash: M_3-000
model_id: M_3-000
model_subspace_id: M_3
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: estimate
k2: 0.1
k3: 0
petab_yaml: petab_problem.yaml
predecessor_model_hash: M_0-000
- criteria:
AICc: 9.294672948206841
NLLH: -4.352663525896579
estimated_parameters:
k1: 0.20160888007873565
k3: 0.0
sigma_x2: 0.11713858557052499
model_hash: M_5-000
model_id: M_5-000
model_subspace_id: M_5
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: estimate
k2: 0.1
k3: estimate
petab_yaml: petab_problem.yaml
predecessor_model_hash: M_3-000
- criteria:
AICc: 7.852170288089528
NLLH: -5.073914855955236
estimated_parameters:
k1: 0.20924739987621038
k2: 0.0859065470362628
sigma_x2: 0.1038731029818225
model_hash: M_6-000
model_id: M_6-000
model_subspace_id: M_6
model_subspace_indices:
- 0
- 0
- 0
parameters:
k1: estimate
k2: estimate
k3: 0
petab_yaml: petab_problem.yaml
predecessor_model_hash: M_3-000
2 changes: 2 additions & 0 deletions doc/examples/calibrated_models/conditions.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
conditionId conditionName
model1_data1 condition1
7 changes: 7 additions & 0 deletions doc/examples/calibrated_models/measurements.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
observableId simulationConditionId measurement time noiseParameters
obs_x2 model1_data1 0 0 sigma_x2
obs_x2 model1_data1 0.19421762 1 sigma_x2
obs_x2 model1_data1 0.0484032 5 sigma_x2
obs_x2 model1_data1 0.61288016 10 sigma_x2
obs_x2 model1_data1 4.07930835 30 sigma_x2
obs_x2 model1_data1 10.12008893 60 sigma_x2
Loading
Loading