Define the task and labels
Decide the outcome window and the label source (e.g. discharge records), and record how censoring is handled.
Predict ICU mortality. Require careful clinical review.
ICU mortality prediction frames death within a time window as a supervised binary task using patient features (vitals, labs, interventions). Key practical concerns are data provenance, label definition (in-hospital vs 30-day), class imbalance, calibration, and clinical governance.
Learning concept · Not a validated service
ICU mortality prediction frames death within a time window as a supervised binary task using patient features (vitals, labs, interventions). Key practical concerns are data provenance, label definition (in-hospital vs 30-day), class imbalance, calibration, and clinical governance.
A proposed use: triage support that flags high-risk patients for clinician review. Any extension must keep a clinician in the loop; a human reviewer must remain in charge and the prototype is not for real clinical decisions or patient care.
Decide the outcome window and the label source (e.g. discharge records), and record how censoring is handled.
Collect relevant features (vitals, labs, interventions), check missingness and class imbalance, and split by patient to avoid leakage.
Train a simple baseline such as scaled Random Forest with cross-validation and report AUC, sensitivity, specificity and calibration.
Inspect calibration plots, failure modes by subgroup, and define a human-review workflow before any deployment.
The supplied starter generates a synthetic binary classification dataset with sklearn.datasets.make_classification, builds a Pipeline that scales features and fits a RandomForestClassifier, then prints a scikit-learn classification report on a held-out test split. It does not load clinical or patient data, nor implement clinical labels, censoring, calibration checks, or privacy controls.
model = Pipeline(
steps=[
("scale", StandardScaler()),
("classifier", RandomForestClassifier(n_estimators=250, random_state=RANDOM_STATE)),
]
)
model.fit(X_train, y_train)
predictions = model.predict(X_test)The starter uses synthetic features from make_classification rather than patient records (no vitals, labs, timestamps or clinical labels). The sample is simulated and cannot validate clinical performance, subgroup behaviour, calibration, or regulatory requirements. There is no handling of missing data, censoring, temporal splits, or patient-level deduplication—each of these matters for real ICU mortality modelling.
A possible extension: replace the synthetic data with a de-identified ICU dataset (for example, MIMIC with appropriate access), engineer time-windowed features, retrain with calibration and subgroup evaluation, and add a clinician-review dashboard showing risk, explanations and uncertainty.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.