-
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.
- Loading branch information
Showing
85 changed files
with
4,134 additions
and
3,432 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,28 @@ | ||
Analysis | ||
======== | ||
|
||
After using PEtab Select to perform model selection, you may want to operate on all "good" calibrated models. | ||
The PEtab Select Python library provides some methods to help with this. Please request any missing methods. | ||
|
||
See the Python API docs for the :class:`petab_select.Models` class, which provides some methods. In particular, :attr:`petab_select.Models.df` can be used | ||
to get a quick overview over all models, as a pandas dataframe. | ||
|
||
Additionally, see the Python API docs for the :mod:`petab_select.analyze` module, which contains some methods to subset and group models, | ||
or compute "weights" (e.g. Akaike weights). | ||
|
||
Model hashes | ||
^^^^^^^^^^^^ | ||
|
||
Model hashes are special objects in the library, that are generated from model-specific information that is unique within a single PEtab Select problem. | ||
|
||
This means you can reconstruct the model given some model hash. For example, with this model hash `M1-000`, you can reconstruct the :class:`petab_select.ModelHash` from a string, then reconstruct the :class:`petab_select.Model`. | ||
|
||
.. code-block:: language | ||
ModelHash.from_hash("M1-000").get_model(petab_select_problem) | ||
You can use this to get the uncalibrated version of a calibrated model. | ||
|
||
.. code-block:: language | ||
model.hash.get_model(petab_select_problem) |
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 |
---|---|---|
@@ -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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
model_subspace_id petab_yaml k1 k2 k3 | ||
M_0 petab_problem.yaml 0 0 0 | ||
M_1 petab_problem.yaml 0.2 0.1 estimate | ||
M_2 petab_problem.yaml 0.2 estimate 0 | ||
M_3 petab_problem.yaml estimate 0.1 0 | ||
M_4 petab_problem.yaml 0.2 estimate estimate | ||
M_5 petab_problem.yaml estimate 0.1 estimate | ||
M_6 petab_problem.yaml estimate estimate 0 | ||
M_7 petab_problem.yaml estimate estimate estimate | ||
M petab_problem.yaml 0.2;estimate 0.1;estimate 0 |
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.