CaMa: survival and recurrence models, the live scenario figures, and their training from governance #7
Reference in New Issue
Block a user
Delete Branch "feature/cama-roundtrip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CaMa's two models and what the dashboard draws from them.
models/cama/survival,models/cama/seer_survival): the SEER interval-survival pipeline as a scenario trained on the cohort dbt defines (index at the first invasive biopsy report; age, histology, grade, receptors, HER2, Ki-67 and lesion size as covariates). Its figure runs the pipeline's stage-5 functions; a test checks the published record against the pipeline's own stage 5 on the same members, and the production model against its points. The clinical scenarios are a shared module and stage 6 lists each scenario's risk factors. The development stages (depuration, balancing, LR and HBN, bootstrap, subgroups, risk factors) are published with each version.survival/live.py): the figure of a clinical scenario, scored with the production version over the data ingested so far; nothing is refitted.models/cama/recurrence): the METABRIC and SCAN-B analysis (preparation, LR and HBN per horizon, risk factors, calculator) as a scenario trained on its files (indata/), with the figure of each clinical scenario published; a patient is placed in the scenarios her covariates meet.primera_biopsia_invasora, the cohort's model index date,lifelinesin the extras.Tests: 56 CaMa tests, including the full train-and-register path of both scenarios; the rest of the suite is unchanged (the OCR test needs Tesseract).