Models as a dataflow with Hamilton adapters: scenarios declared in model.toml, cohort read from the database or a file, a scikit-learn model registered with its requirements, estimates per horizon, and the CIN2+ prevalence-incidence scenario

This commit is contained in:
2026-11-11 23:27:38 -06:00
parent 6f6c3cd4c2
commit 0d75ff6baa
47 changed files with 2011 additions and 523 deletions
+7 -1
View File
@@ -18,7 +18,7 @@ dependencies = [
]
[project.optional-dependencies]
# Running uploaded notebooks without Quarto (models.io.rendering.JupyterRenderer, models.pipelines.experiment).
# Running uploaded notebooks without Quarto (models.reports.rendering.JupyterRenderer, models.pipelines.experiment).
notebooks = [
"nbclient>=0.10",
"nbconvert>=7.16",
@@ -45,3 +45,9 @@ dev = [
"nbconvert>=7.16",
"ipykernel>=6.29",
]
# The scenarios' notebooks (`<scenario>/notebooks/`): a Jupyter kernel and the drawing of the Hamilton DAGs.
# `graphviz` is only the Python side: drawing also needs Graphviz's `dot` program on the machine.
notebooks = [
"ipykernel>=6.29",
"graphviz>=0.20",
]