34 lines
1.8 KiB
TOML
34 lines
1.8 KiB
TOML
# CaMa recurrence analysis: the risk of recurrence by clinical scenario, from two external cohorts (METABRIC and SCAN-B).
|
|
# Trained from governance on the files in `data/`; the scenarios' figures are what the dashboard shows. Its covariates are the
|
|
# cohorts' own; the hospital's patient is placed in the scenarios her covariates meet.
|
|
domain = "cama"
|
|
scenario = "recurrence"
|
|
cohort = "cama/externa"
|
|
outcome = "recurrencia"
|
|
external = true # trained on files, not on a dbt cohort of the platform
|
|
modules = ["models.cama.recurrence.model"]
|
|
description = """\
|
|
Análisis de recurrencia: probabilidad de que la enfermedad regrese a los 12, 36 y 60 meses por escenario clínico, con una \
|
|
regresión logística y una red bayesiana por horizonte, entrenadas en dos cohortes externas (METABRIC y SCAN-B). Pendiente \
|
|
de validación clínica."""
|
|
requirements = ["pandas", "numpy", "scipy", "scikit-learn", "statsmodels", "pgmpy", "lifelines", "mpmath"]
|
|
|
|
[config.recurrence]
|
|
data_dir = "" # empty: the `data/` folder of this package
|
|
horizons = [12, 36, 60] # months
|
|
v_max = 0.80 # Cramér's V from which of two covariates the one with more unknowns is dropped
|
|
seed = 42
|
|
bdeu_ess = 10
|
|
max_parents = 6
|
|
alpha_in = 0.10
|
|
alpha_out = 0.15
|
|
alpha_prefilter = 0.10
|
|
alpha = 0.05 # the risk factors' significance
|
|
freq_min = 0.80 # the bootstrap's stability criterion
|
|
n_bootstrap_metabric = 100
|
|
n_bootstrap_scanb = 40
|
|
n_boot_calc = 200 # replicas of each scenario's interval
|
|
min_events = 15 # recurrences a scenario needs to be drawn
|
|
cap_months = 72 # the figure's time axis
|
|
ks_seconds = 60 # time budget of each fractional Weibull fit
|