Every model trains on the site: EEG age curves on the children with TEA ruled out, recurrence on the site's patients (St. Gallen subtype), and the EEG–ADOS-2 association
This commit is contained in:
@@ -21,7 +21,7 @@ RESAMPLES = 200
|
||||
MIN_EVENTS = 15 # a scenario is drawn when it has this many recurrences
|
||||
CAP_MONTHS = 72 # the Weibull curves' extent
|
||||
GRID_POINTS = 289 # 0 to CAP_MONTHS by quarter months
|
||||
LABELS = {"metabric": "METABRIC", "scanb": "SCAN-B"}
|
||||
LABELS = {"metabric": "METABRIC", "scanb": "SCAN-B", "site": "Sitio"}
|
||||
|
||||
# Each scenario: covariate -> the categories it takes (AND across covariates).
|
||||
SCENARIOS = {
|
||||
@@ -59,6 +59,7 @@ SCENARIOS = {
|
||||
"Grado 3": {"Grado_histologico": ["3"]},
|
||||
},
|
||||
} # fmt: skip
|
||||
SCENARIOS["site"] = SCENARIOS["scanb"] # the site's cohort is described as SCAN-B's
|
||||
|
||||
|
||||
def masks(frame: pd.DataFrame, scenarios: dict) -> dict[str, np.ndarray]:
|
||||
|
||||
Reference in New Issue
Block a user