Files
models/models/cama/recurrence/model.toml
T

37 lines
1.8 KiB
TOML

# CaMa recurrence analysis: the risk of recurrence by clinical scenario, trained on the patients loaded from METABRIC and
# SCAN-B (`cohort_import`, through the platform's import) and read from the database by the dictionary of `cohorts.toml`.
# The scenarios' figures are what the dashboard shows; the hospital's patient is placed in the scenarios her covariates meet.
domain = "cama"
scenario = "recurrence"
cohort = "cama/cohorte_total"
outcome = "recurrencia"
modules = ["models.cama.recurrence.model", "models.steps.indexing"]
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 con las pacientes cargadas de 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]
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
[config.index]
kind = "primera_biopsia_invasora"
event_grades = ["CARCINOMA_INVASOR"]
observacion_previa_minima_dias = 0