CaMa SEER survival pipeline: the six scripts as Hamilton DAGs, one module of nodes per stage and the heavy routines apart
Stages 01-06 (depuration, MCA balancing and categorization, bootstrap indices, stepwise LR and hybrid Bayesian network, survival curves, risk factors), settings in model.toml, run.py writing each stage's files and pipeline.py as the runner that replaces ejecutar_pipeline.py. New extras seer-survival and seer-survival-dca; experiments/ excluded from the wheel.
This commit is contained in:
+21
-1
@@ -25,6 +25,19 @@ notebooks = [
|
||||
"ipykernel>=6.29",
|
||||
]
|
||||
|
||||
# The SEER survival pipeline (`models.cama.seer_survival`): statsmodels for the logistic regressions, pgmpy for the
|
||||
# Bayesian network, mpmath for the fractional Weibull's series, matplotlib for its figures. `dcurves` is optional: without
|
||||
# it the decision-curve figure is skipped.
|
||||
seer-survival = [
|
||||
"scipy>=1.11",
|
||||
"statsmodels>=0.14",
|
||||
"pgmpy>=1.0",
|
||||
"networkx>=3.0",
|
||||
"mpmath>=1.3",
|
||||
"matplotlib>=3.8",
|
||||
]
|
||||
seer-survival-dca = ["dcurves>=1.1"]
|
||||
|
||||
[tool.uv.sources]
|
||||
persistance = { path = "../Persistance", editable = true }
|
||||
extraction = { path = "../Extraction", editable = true }
|
||||
@@ -35,12 +48,19 @@ build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["models"]
|
||||
exclude = ["**/notebooks"]
|
||||
exclude = ["**/notebooks", "**/experiments"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8.0.0",
|
||||
"reportlab>=4.0",
|
||||
# the SEER survival pipeline's tests (the `seer-survival` extra)
|
||||
"scipy>=1.11",
|
||||
"statsmodels>=0.14",
|
||||
"pgmpy>=1.0",
|
||||
"networkx>=3.0",
|
||||
"mpmath>=1.3",
|
||||
"matplotlib>=3.8",
|
||||
"nbclient>=0.10",
|
||||
"nbconvert>=7.16",
|
||||
"ipykernel>=6.29",
|
||||
|
||||
Reference in New Issue
Block a user