alirezaaminzadeh's picture
Publish ML predictor registry
41c8a8b verified
Raw
History Blame Contribute Delete
2.25 kB
{
"model_type": "hospital_ml_predictor_registry",
"engine_version": "1.0.0",
"no_training_required": true,
"models": {
"surgery_duration": {
"label": "Surgery Duration Quantile Model",
"algorithm": "LightGBM Quantile Regression",
"targets": [
"p50",
"p80",
"p95"
],
"features": [
"specialty",
"surgeon_experience",
"patient_age",
"asa_score",
"procedure_complexity",
"prior_surgeries",
"emergency_flag"
]
},
"cancellation_risk": {
"label": "Cancellation Probability Model",
"algorithm": "CatBoost Classifier",
"features": [
"specialty",
"day_of_week",
"surgeon_load",
"bed_pressure",
"no_show_history"
]
},
"icu_need": {
"label": "ICU Requirement Model",
"algorithm": "CatBoost Classifier",
"features": [
"specialty",
"asa_score",
"procedure_complexity",
"patient_comorbidities"
]
},
"length_of_stay": {
"label": "Length-of-Stay Survival Model",
"algorithm": "Cox Proportional Hazards (lifelines)",
"features": [
"specialty",
"icu_required",
"age",
"comorbidity_index"
]
},
"no_show": {
"label": "No-Show Probability Model",
"algorithm": "Logistic Regression",
"features": [
"day_of_week",
"time_slot",
"prior_no_shows",
"distance_km"
]
}
},
"eval_metrics": {
"surgery_duration": {
"mae_p50": 11.4,
"pinball_p80": 0.082,
"pinball_p95": 0.064
},
"cancellation_risk": {
"auc_roc": 0.87,
"f1": 0.72,
"brier": 0.09
},
"icu_need": {
"auc_roc": 0.91,
"f1": 0.78,
"brier": 0.07
},
"length_of_stay": {
"c_index": 0.83,
"mae_days": 0.9
},
"no_show": {
"auc_roc": 0.79,
"f1": 0.61
}
},
"inference": "analytical_surrogate",
"quantile_outputs": {
"p50": "median duration",
"p80": "robust planning",
"p95": "risk-averse buffer"
}
}