BayesianEstimationTool 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. bayesianestimationtool-1.0.0/BayesianEstimationTool.egg-info/PKG-INFO +68 -0
  2. bayesianestimationtool-1.0.0/BayesianEstimationTool.egg-info/SOURCES.txt +30 -0
  3. bayesianestimationtool-1.0.0/BayesianEstimationTool.egg-info/dependency_links.txt +1 -0
  4. bayesianestimationtool-1.0.0/BayesianEstimationTool.egg-info/requires.txt +4 -0
  5. bayesianestimationtool-1.0.0/BayesianEstimationTool.egg-info/top_level.txt +1 -0
  6. bayesianestimationtool-1.0.0/BayesianEstimationTool.py +577 -0
  7. bayesianestimationtool-1.0.0/BayesianEstimationTool_CheatSheet.py +245 -0
  8. bayesianestimationtool-1.0.0/LICENSE +201 -0
  9. bayesianestimationtool-1.0.0/Method.py +10 -0
  10. bayesianestimationtool-1.0.0/MethodValidation.py +61 -0
  11. bayesianestimationtool-1.0.0/NutsMethod.py +57 -0
  12. bayesianestimationtool-1.0.0/PKG-INFO +68 -0
  13. bayesianestimationtool-1.0.0/README.md +53 -0
  14. bayesianestimationtool-1.0.0/SviMethod.py +53 -0
  15. bayesianestimationtool-1.0.0/__init__.py +6 -0
  16. bayesianestimationtool-1.0.0/pyproject.toml +21 -0
  17. bayesianestimationtool-1.0.0/setup.cfg +4 -0
  18. bayesianestimationtool-1.0.0/tests/test_custom_method.py +56 -0
  19. bayesianestimationtool-1.0.0/tests/test_estimator_integration.py +116 -0
  20. bayesianestimationtool-1.0.0/tests/test_estimator_validation.py +95 -0
  21. bayesianestimationtool-1.0.0/tests/test_longitudinal_transfer.py +59 -0
  22. bayesianestimationtool-1.0.0/tests/test_method_contract.py +25 -0
  23. bayesianestimationtool-1.0.0/tests/test_method_validation.py +106 -0
  24. bayesianestimationtool-1.0.0/tests/test_nuts_numerics.py +45 -0
  25. bayesianestimationtool-1.0.0/tests/test_scientific_integration.py +163 -0
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: BayesianEstimationTool
3
+ Version: 1.0.0
4
+ Summary: Hierarchical Bayesian estimation and prediction for mechanistic models
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Repository, https://github.com/rafaelrbravo/BayesianEstimationTool
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: jax
11
+ Requires-Dist: numpyro
12
+ Requires-Dist: numpy
13
+ Requires-Dist: cloudpickle
14
+ Dynamic: license-file
15
+
16
+ # BayesianEstimationTool (BET)
17
+
18
+ BayesianEstimationTool fits population-level parameters and individual-specific latent variables with NumPyro inference methods.
19
+
20
+ ## Documentation
21
+
22
+ Start here:
23
+
24
+ - **[Manual (Markdown)](docs/Manual.md)** — model contracts, likelihoods, masking, JAX modeling, inference, persistence, and testing.
25
+ - **[Manual (PDF)](docs/Manual.pdf)** — printable manual. If GitHub cannot preview the PDF, download it to view locally.
26
+ - **[Cheatsheet (Markdown)](docs/Cheatsheet.md)** — compact API reference and common workflows.
27
+ - **[Cheatsheet (PDF)](docs/Cheatsheet.pdf)** — one-page printable reference. If GitHub cannot preview the PDF, download it to view locally.
28
+
29
+ **Manual.md is the authoritative manual.** Its PDF is rendered directly from that file using GitHub-like styling and print pagination. The cheatsheet is a separate compact, Python-generated reference. To regenerate locally, install `requests`, `playwright`, and `reportlab`, install Playwright Chromium (`python -m playwright install chromium`), and set `GITHUB_TOKEN` to a token permitted to call GitHub's Markdown API for this repository. The manual generator uses GitHub's Markdown rendering API and Playwright; the cheatsheet generator uses ReportLab:
30
+
31
+ ```bash
32
+ python docs/generators/markdown_to_pdf.py docs/Manual.md
33
+ python docs/generators/cheatsheet.py
34
+ ```
35
+
36
+ The GitHub Actions test workflow regenerates the PDFs (and the Python-authored cheatsheet Markdown), checks that the cheatsheet is exactly one PDF page, uploads the outputs as a `bet-docs` artifact, and runs the test suite.
37
+
38
+ ## Installation
39
+
40
+ BET requires Python 3.10 or newer. **After the first release is published**, install the latest version from [PyPI](https://pypi.org/project/BayesianEstimationTool/):
41
+
42
+ ```bash
43
+ python -m pip install BayesianEstimationTool
44
+ ```
45
+
46
+ To install the specific first release:
47
+
48
+ ```bash
49
+ python -m pip install BayesianEstimationTool==1.0.0
50
+ ```
51
+
52
+ Alternatively, install directly from the tagged GitHub source:
53
+
54
+ ```bash
55
+ python -m pip install "git+https://github.com/rafaelrbravo/BayesianEstimationTool.git@v1.0.0"
56
+ ```
57
+
58
+ You can also download a wheel (`.whl`) or source archive (`.tar.gz`) from [GitHub Releases](https://github.com/rafaelrbravo/BayesianEstimationTool/releases) and install it with `python -m pip install PATH_TO_DOWNLOADED_FILE`. These release assets become available after publishing.
59
+
60
+ Verify installation:
61
+
62
+ ```bash
63
+ python -c "import BayesianEstimationTool as bet; print(bet.Estimator)"
64
+ ```
65
+
66
+ For editable development from a source checkout, run `python -m pip install -e .` in the repository root. The conda recipe in `conda-recipe/meta.yaml` is for local builds; BET is not yet published on conda-forge.
67
+
68
+ See the manual for the minimal model and training examples.
@@ -0,0 +1,30 @@
1
+ BayesianEstimationTool.py
2
+ BayesianEstimationTool_CheatSheet.py
3
+ LICENSE
4
+ Method.py
5
+ MethodValidation.py
6
+ NutsMethod.py
7
+ README.md
8
+ SviMethod.py
9
+ __init__.py
10
+ pyproject.toml
11
+ ./BayesianEstimationTool.py
12
+ ./BayesianEstimationTool_CheatSheet.py
13
+ ./Method.py
14
+ ./MethodValidation.py
15
+ ./NutsMethod.py
16
+ ./SviMethod.py
17
+ ./__init__.py
18
+ BayesianEstimationTool.egg-info/PKG-INFO
19
+ BayesianEstimationTool.egg-info/SOURCES.txt
20
+ BayesianEstimationTool.egg-info/dependency_links.txt
21
+ BayesianEstimationTool.egg-info/requires.txt
22
+ BayesianEstimationTool.egg-info/top_level.txt
23
+ tests/test_custom_method.py
24
+ tests/test_estimator_integration.py
25
+ tests/test_estimator_validation.py
26
+ tests/test_longitudinal_transfer.py
27
+ tests/test_method_contract.py
28
+ tests/test_method_validation.py
29
+ tests/test_nuts_numerics.py
30
+ tests/test_scientific_integration.py
@@ -0,0 +1,4 @@
1
+ jax
2
+ numpyro
3
+ numpy
4
+ cloudpickle
@@ -0,0 +1 @@
1
+ BayesianEstimationTool