rishirajpathak commited on
Commit
eaa960d
·
1 Parent(s): b8ebd97

Cleaned project: organized outputs, comprehensive README with models/datasets/formats

Browse files
.gitignore CHANGED
@@ -10,9 +10,11 @@ venv/
10
  env/
11
  ENV/
12
 
13
- # Temporary prediction files
14
- data/predictions_*.csv
15
- reports/report_*.json
 
 
16
 
17
  # IDE
18
  .vscode/
 
10
  env/
11
  ENV/
12
 
13
+ # Generated output files
14
+ outputs/
15
+ predictions_*.csv
16
+ report_*.json
17
+ *.pkl.bak
18
 
19
  # IDE
20
  .vscode/
README.md CHANGED
@@ -9,424 +9,487 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- # Hospital Emergency Prediction System
13
 
14
- > **AI-Powered Forecasting System for Emergency Admissions, ICU Demand, and Staff Workload**
15
 
16
- A comprehensive machine learning system that predicts hospital emergency department metrics for any time period (24 hours, weekends, weeks) using state-of-the-art time-series models and multivariate analysis.
 
 
 
17
 
18
  ---
19
 
20
  ## 📋 Table of Contents
21
 
22
- 1. [Overview](#overview)
23
- 2. [Pretrained Models Used](#pretrained-models-used)
24
- 3. [Dataset Information](#dataset-information)
25
- 4. [Input Format](#input-format)
26
- 5. [Output Format](#output-format)
27
- 6. [Project Structure](#project-structure)
28
- 7. [Quick Start](#quick-start)
29
- 8. [Usage Examples](#usage-examples)
 
 
30
 
31
  ---
32
 
33
- ## 🎯 Overview
34
-
35
- This system solves critical hospital management challenges:
36
-
37
- - **Predicts Emergency Admissions** - Forecasts patient volume
38
- - **Predicts ICU Demand** - Anticipates intensive care bed requirements
39
- - **Predicts Staff Workload** - Optimizes staff allocation
40
- - **Generates Resource Plans** - Provides actionable recommendations
41
 
42
- **Key Capabilities:**
43
- - Flexible time periods: 24h, 48h, weekend, week, or custom
44
- - Handles external factors: weather, flu season, air quality
45
- - Automated alerts when capacity exceeds thresholds
46
- - Production-ready outputs (CSV, JSON)
 
 
 
 
 
47
 
48
  ---
49
 
50
- ## 🤖 Pretrained Models Used
51
-
52
- ### 1. **Amazon Chronos (T5-Small)** - Emergency Admissions
53
- - **Type:** Transformer-based time-series foundation model
54
- - **Architecture:** Based on Google's T5 (Text-to-Text Transfer Transformer)
55
- - **Pretrained On:** 100+ billion time-series data points
56
- - **Source:** [amazon-science/chronos-forecasting](https://github.com/amazon-science/chronos-forecasting)
57
- - **Purpose:** Zero-shot forecasting of emergency admissions
58
- - **Model Size:** 20M parameters (small variant for speed)
59
- - **Input:** Historical admission time-series (168 hours context)
60
- - **Output:** Probabilistic forecasts with confidence intervals
61
- - **Fallback:** Historical moving average if unavailable
62
-
63
- ### 2. **XGBoost** - ICU Demand Predictor
64
- - **Library:** XGBoost 3.1.2 (Gradient Boosting)
65
- - **Training:** Custom trained on 180 days synthetic data
66
- - **Features:** 13 multivariate features
67
- - Temporal: hour, day_of_week, month, is_weekend
68
- - Historical: lag features (1h, 7h), rolling averages (3h, 7h)
69
- - External: temperature, flu_season_index, air_quality
70
- - Hospital: emergency_admissions_lag, icu_demand_lag
71
- - **Performance:** MAE: 0.25 beds, R²: 0.32
72
- - **Training Time:** <5 seconds
73
-
74
- ### 3. **XGBoost** - Staff Workload Predictor
75
- - **Library:** XGBoost 3.1.2
76
- - **Training:** Custom trained on 180 days synthetic data
77
- - **Features:** 13 multivariate features + bed_occupancy
78
- - **Performance:** MAE: 0.43 staff units, R²: 0.42
79
- - **Training Time:** <5 seconds
80
 
81
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
83
- ## 📊 Dataset Information
84
 
85
- ### Data Source
86
- **Synthetic Hospital Data** - Generated using realistic patterns:
87
- - Hospital admission statistics
88
- - CDC flu season data
89
- - Weather correlations
90
- - Day-of-week and hourly variations
91
 
92
- ### Dataset Size
93
- - **Duration:** 180 days (6 months)
94
- - **Granularity:** Hourly records
95
- - **Total Records:** 4,320 hours
96
- - **Features:** 22 features after engineering
97
 
98
- ### Data Columns
 
 
99
 
100
- **Raw Data (hospital_data.csv):**
101
- ```
102
- datetime, hour, day_of_week, month, is_weekend,
103
- temperature, flu_season_index, air_quality_index,
104
- emergency_admissions, icu_demand, staff_workload, bed_occupancy
 
 
 
 
 
 
 
 
 
105
  ```
106
 
107
- **ML Data (hospital_data_ml.csv):**
108
- ```
109
- All raw columns +
110
- emergency_admissions_lag_1h, _lag_7h, _lag_14h,
111
- emergency_admissions_rolling_3h, _rolling_7h, _rolling_14h,
112
- icu_demand_lag_1h, icu_demand_lag_7h
113
- ```
114
 
115
- ### Location
116
- - **Raw:** `data/hospital_data.csv`
117
- - **ML-ready:** `data/hospital_data_ml.csv`
 
 
 
118
 
119
  ---
120
 
121
- ## 📥 Input Format
122
 
123
- ### Method 1: Simple Command Line
 
 
124
 
125
- ```bash
126
- python predict.py <period>
127
- ```
128
 
129
- **Options:**
130
- - `24h` - Next 24 hours
131
- - `48h` - Next 48 hours
132
- - `weekend` - Next weekend
133
- - `week` - Next week (168 hours)
134
- - `<number>` - Custom hours (e.g., `72`)
135
 
136
- **Examples:**
137
- ```bash
138
- python predict.py 24h
139
- python predict.py weekend
140
- python predict.py 120 # 5 days
141
- ```
142
 
143
- ### Method 2: Interactive Menu
 
 
 
144
 
145
- ```bash
146
- python scripts/predict_flexible.py
147
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
 
149
- ### Method 3: Python API
150
 
151
  ```python
152
- from scripts.predict_flexible import FlexiblePredictor
153
 
154
- predictor = FlexiblePredictor()
155
- predictions, optimization = predictor.predict_next_24_hours()
 
 
 
156
  ```
157
 
 
 
 
158
  ---
159
 
160
  ## 📤 Output Format
161
 
162
- ### Output Files
163
-
164
- Each prediction generates **2 files**:
165
 
166
- #### 1. CSV File (Predictions)
167
- **Location:** `data/predictions_<Period>.csv`
168
 
169
- **Format:**
170
  ```csv
171
- datetime,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
172
- 2026-01-03 20:01:54,1.85,0.14,0.50
173
- 2026-01-03 21:01:54,1.85,0.03,0.17
 
174
  ```
175
 
176
- **Columns:**
177
- - `datetime` - Hourly timestamp
178
- - `predicted_emergency_admissions` - Expected admissions (float)
179
- - `predicted_icu_demand` - ICU beds needed (float)
180
- - `predicted_staff_workload` - Staff units required (float)
 
 
181
 
182
- #### 2. JSON File (Report)
183
- **Location:** `reports/report_<Period>.json`
 
 
 
 
184
 
185
- **Format:**
186
  ```json
187
  {
188
- "period": "Next 24 Hours",
189
- "generated_at": "2026-01-03T19:08:45",
190
- "hours": 24,
191
- "summary": {
192
- "total_admissions": 44,
 
 
 
 
 
 
193
  "peak_staff": 5,
194
  "status": "NORMAL"
195
  },
196
- "optimization": {
197
- "staff": {"peak": 5, "avg": 5.0},
198
- "icu": {"max_utilization_pct": 4.5},
199
- "alerts": []
200
- }
201
  }
202
  ```
203
 
204
- **Status Values:** `NORMAL` | `ELEVATED` | `CRITICAL`
 
 
 
 
 
 
 
205
 
206
- ### Visualizations
207
- **Location:** `visualizations/`
208
 
209
- | File | Description |
210
- |------|-------------|
211
- | `hospital_dashboard.png` | 6-panel analytics |
212
- | `hospital_metrics.png` | Key metrics cards |
213
- | `prediction_comparison.png` | Period comparison |
214
 
215
- **Generate with:** `python scripts/visualize.py`
216
 
217
- ### Models
218
- **Location:** `models/`
219
- - `icu_demand_model.pkl` - Trained XGBoost (~500KB)
220
- - `staff_workload_model.pkl` - Trained XGBoost (~500KB)
221
 
222
  ---
223
 
224
- ## 📂 Project Structure
225
-
226
- ```
227
- gfgML/
228
-
229
- ├── 📁 data/ # All CSV files
230
- │ ├── hospital_data.csv # Historical data (4,320 rows)
231
- │ ├── hospital_data_ml.csv # ML features (4,307 rows)
232
- │ ├── predictions_Next_24_Hours.csv
233
- │ ├── predictions_Next_48_Hours.csv
234
- │ ├── predictions_Current_Weekend.csv
235
- │ └── predictions_Next_Week_7_Days.csv
236
-
237
- ├── 📁 reports/ # All JSON reports
238
- │ ├── report_Next_24_Hours.json
239
- │ ├── report_Next_48_Hours.json
240
- │ └── report_Next_Week_7_Days.json
241
-
242
- ├── 📁 visualizations/ # All PNG charts
243
- │ ├── hospital_dashboard.png
244
- │ ├── hospital_metrics.png
245
- │ └── prediction_comparison.png
246
-
247
- ├── 📁 models/ # Trained models
248
- │ ├── icu_demand_model.pkl
249
- │ └── staff_workload_model.pkl
250
-
251
- ├── 📁 scripts/ # Python modules
252
- │ ├── data_generator.py
253
- │ ├── emergency_admissions_predictor.py
254
- │ ├── xgboost_predictors.py
255
- │ ├── resource_optimizer.py
256
- │ ├── predict_flexible.py
257
- │ ├── predict.py
258
- │ └── visualize.py
259
-
260
- ├── 📄 main.py # Main pipeline
261
- ├── 📄 config.py # Configuration
262
- ├── 📄 requirements.txt # Dependencies
263
- └── 📄 README.md # This file
264
- ```
265
 
266
- ---
 
 
267
 
268
- ## 🚀 Quick Start
269
 
270
- ### Installation
 
 
 
 
271
 
 
272
  ```bash
273
- # 1. Install dependencies
274
  pip install -r requirements.txt
275
  ```
276
 
277
- **Dependencies:**
278
- - pandas, numpy, scikit-learn
279
- - xgboost, matplotlib, seaborn
280
- - torch (optional, for Chronos)
281
-
282
- ### First Run
 
 
 
283
 
 
284
  ```bash
285
- # 2. Generate data and train models
286
- python main.py
287
  ```
288
 
289
- **This will:**
290
- - ✅ Generate 180 days of hospital data
291
- - ✅ Create ML features
292
- - ✅ Train XGBoost models
293
- - ✅ Generate 48-hour forecast
294
- - ✅ Create resource plan
295
- - ✅ Save models to `models/`
296
 
297
- **Time:** ~30 seconds
298
 
299
- ### Daily Use
300
 
301
  ```bash
302
- # Predict next 24 hours
303
- python predict.py 24h
304
 
305
- # Predict weekend
306
- python predict.py weekend
307
 
308
- # Predict next week
309
- python predict.py week
310
- ```
311
 
312
- ---
 
313
 
314
- ## 💡 Usage Examples
 
315
 
316
- ### Example 1: Daily Planning
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
  ```bash
319
- python predict.py 24h
320
  ```
321
 
322
- **Output:**
323
- - `data/predictions_Next_24_Hours.csv` (24 rows)
324
- - `reports/report_Next_24_Hours.json`
325
 
326
- **Use:** Schedule today's staff based on hourly predictions
327
 
328
- ### Example 2: Weekend Preparation
 
 
 
329
 
330
- ```bash
331
- python predict.py weekend
332
- ```
333
 
334
- **Output:**
335
- ```
336
- Period: Next Weekend
337
- Duration: 54 hours
338
- Total Admissions: 99
339
- Peak Staff: 7
340
- Status: NORMAL
341
- ```
342
 
343
- **Use:** Plan weekend staffing and ICU capacity
 
 
 
 
344
 
345
- ### Example 3: Weekly Planning
 
 
346
 
347
- ```bash
348
- python predict.py week
349
- ```
350
 
351
- **Output:**
352
- - 168 hours of predictions
353
- - Daily patterns visible
354
- - Staff requirements by shift
355
 
356
- ### Example 4: Custom Period
357
 
358
- ```bash
359
- python predict.py 72 # 3 days
360
- ```
 
 
 
361
 
362
- ### Example 5: Compare All
 
 
 
363
 
364
- ```bash
365
- python scripts/predict_flexible.py --demo
366
- ```
367
 
368
- Generates all periods + comparison charts
 
 
 
 
 
 
 
 
 
369
 
370
  ---
371
 
372
- ## 🔧 Configuration
373
 
374
- Edit `config.py`:
375
 
376
- ```python
377
- DAYS_OF_HISTORICAL_DATA = 180 # Historical data length
378
- PREDICTION_HORIZON = 48 # Default prediction hours
379
- BASE_EMERGENCY_ADMISSIONS = 50 # Average per day
380
- ICU_CAPACITY = 20 # Total ICU beds
381
- CRITICAL_THRESHOLD = 0.85 # Alert threshold
382
- ```
 
 
 
 
 
 
 
 
 
 
 
383
 
384
  ---
385
 
386
- ## 📊 Model Performance
387
 
388
- | Model | Metric | Value | Speed |
389
- |-------|--------|-------|-------|
390
- | Chronos | Admissions | ~92% | 3s |
391
- | XGBoost | ICU (R²) | 0.32 | 0.1s |
392
- | XGBoost | Staff (R²) | 0.42 | 0.1s |
 
393
 
394
  ---
395
 
396
- ## 🎯 Key Features
397
 
398
- - Flexible time periods (24h to weeks)
399
- - ✅ State-of-the-art models (Chronos + XGBoost)
400
- - ✅ External factors (weather, flu season)
401
- - ✅ Automated alerts (>85% capacity)
402
- - ✅ Multiple outputs (CSV, JSON, PNG)
403
- - ✅ Fast (<30s training, <1s prediction)
404
- - ✅ Production-ready structure
405
 
406
  ---
407
 
408
- ## 🏆 Hackathon Highlights
409
 
410
- 1. **Innovation:** Amazon Chronos foundation model
411
- 2. **Complete:** Prediction + Optimization + Alerts
412
- 3. **Practical:** 3 key hospital metrics
413
- 4. **Flexible:** Any time period
414
- 5. **Fast:** 30s train, 0.1s predict
415
- 6. **Clean:** Organized file structure
416
 
417
  ---
418
 
419
- ## 🔍 Troubleshooting
420
 
421
- **Q: Chronos warning?**
422
- A: Normal! Uses XGBoost fallback automatically
 
 
 
423
 
424
- **Q: No data files?**
425
- A: Run `python main.py` first
426
 
427
- **Q: Want more data?**
428
- A: Change `DAYS_OF_HISTORICAL_DATA` in config.py
 
429
 
430
  ---
431
 
432
- **Last Updated:** January 3, 2026
 
9
  pinned: false
10
  ---
11
 
12
+ # 🏥 Hospital Emergency Prediction System
13
 
14
+ > **AI-Powered Forecasting for Emergency Admissions, ICU Demand, and Staff Workload**
15
 
16
+ A comprehensive machine learning system that predicts hospital emergency department metrics using XGBoost models with period-specific thresholds for 24h, 48h, 7-day, and 14-day forecasting.
17
+
18
+ [![HuggingFace](https://img.shields.io/badge/🤗-HuggingFace%20Space-yellow)](https://huggingface.co/spaces/rishirajpathak/hospital-ai-forecasting)
19
+ [![GitHub](https://img.shields.io/badge/GitHub-Repository-blue)](https://github.com/Rishiraj-Pathak-27/hospital-forecasting)
20
 
21
  ---
22
 
23
  ## 📋 Table of Contents
24
 
25
+ - [Features](#features)
26
+ - [Project Structure](#project-structure)
27
+ - [Models Used](#models-used)
28
+ - [Dataset](#dataset)
29
+ - [Input Format](#input-format)
30
+ - [Output Format](#output-format)
31
+ - [Installation](#installation)
32
+ - [Usage](#usage)
33
+ - [File Locations](#file-locations)
34
+ - [Model Performance](#model-performance)
35
 
36
  ---
37
 
38
+ ## Features
 
 
 
 
 
 
 
39
 
40
+ - **Multi-Period Forecasting**: 24 hours, 48 hours, 7 days, 14 days
41
+ - **Period-Specific Thresholds**: Dynamic classification based on prediction window
42
+ - **Three Key Predictions**:
43
+ - Emergency Admissions
44
+ - ICU Bed Demand
45
+ - Staff Workload Requirements
46
+ - **Load Classification**: HIGH/MEDIUM/LOW with adaptive scoring (13-point scale)
47
+ - **Resource Optimization**: Staff allocation and bed management recommendations
48
+ - **Interactive Web Interface**: Built with Gradio for easy deployment
49
+ - **Export Capabilities**: CSV and JSON outputs
50
 
51
  ---
52
 
53
+ ## 📁 Project Structure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ ```
56
+ hospital-ai-forecasting/
57
+ ├── app.py # Main Gradio application
58
+ ├── config.py # Configuration parameters
59
+ ├── requirements.txt # Python dependencies
60
+ ├── README.md # This file
61
+ ├── .gitignore # Git ignore rules
62
+
63
+ ├── data/ # Training data
64
+ │ ├── hospital_data.csv # Raw synthetic hospital data (4,321 records)
65
+ │ └── hospital_data_ml.csv # Feature-engineered ML-ready data
66
+
67
+ ├── models/ # Trained models
68
+ │ ├── icu_demand_model.pkl # ICU demand predictor (XGBoost)
69
+ │ └── staff_workload_model.pkl # Staff workload predictor (XGBoost)
70
+
71
+ ├── scripts/ # Python modules
72
+ │ ├── predict_flexible.py # Main prediction engine
73
+ │ ├── xgboost_predictors.py # XGBoost model classes
74
+ │ ├── resource_optimizer.py # Resource optimization logic
75
+ │ └── train_models.py # Model training script
76
+
77
+ └── outputs/ # Generated files (gitignored)
78
+ ├── predictions/ # CSV prediction files
79
+ │ ├── predictions_24_Hours.csv
80
+ │ ├── predictions_48_Hours.csv
81
+ │ ├── predictions_7_Days.csv
82
+ │ └── predictions_14_Days.csv
83
+ └── reports/ # JSON report files
84
+ ├── report_24_Hours.json
85
+ ├── report_48_Hours.json
86
+ ├── report_7_Days.json
87
+ └── report_14_Days.json
88
+ ```
89
 
90
+ ---
91
 
92
+ ## 🤖 Models Used
 
 
 
 
 
93
 
94
+ ### 1. **ICU Demand Predictor** (`icu_demand_model.pkl`)
 
 
 
 
95
 
96
+ **Model Type**: XGBoost Regressor
97
+ **Source**: Custom trained on synthetic hospital data
98
+ **Framework**: `xgboost==2.0.0`
99
 
100
+ **Model Parameters**:
101
+ ```python
102
+ {
103
+ 'objective': 'reg:squarederror',
104
+ 'max_depth': 8,
105
+ 'learning_rate': 0.05,
106
+ 'n_estimators': 300,
107
+ 'min_child_weight': 3,
108
+ 'subsample': 0.8,
109
+ 'colsample_bytree': 0.8,
110
+ 'reg_alpha': 0.1,
111
+ 'reg_lambda': 1.0,
112
+ 'random_state': 42
113
+ }
114
  ```
115
 
116
+ **Input Features** (13):
117
+ - Temporal: `hour`, `day_of_week`, `month`, `is_weekend`
118
+ - Environmental: `temperature`, `flu_season_index`, `air_quality_index`
119
+ - Lagged: `emergency_admissions_lag_1h`, `emergency_admissions_lag_7h`, `icu_demand_lag_1h`, `icu_demand_lag_7h`
120
+ - Rolling: `emergency_admissions_rolling_3h`, `emergency_admissions_rolling_7h`
 
 
121
 
122
+ **Output**: ICU bed demand (continuous value, 0-20 beds)
123
+
124
+ **Performance**:
125
+ - MAE: 0.24
126
+ - R²: 0.32
127
+ - Cross-validation: 5-fold Time Series Split
128
 
129
  ---
130
 
131
+ ### 2. **Staff Workload Predictor** (`staff_workload_model.pkl`)
132
 
133
+ **Model Type**: XGBoost Regressor
134
+ **Source**: Custom trained on synthetic hospital data
135
+ **Framework**: `xgboost==2.0.0`
136
 
137
+ **Model Parameters**: Same as ICU Demand model
 
 
138
 
139
+ **Input Features** (13):
140
+ - Temporal: `hour`, `day_of_week`, `month`, `is_weekend`
141
+ - Environmental: `temperature`, `flu_season_index`, `air_quality_index`
142
+ - Lagged: `emergency_admissions_lag_1h`, `emergency_admissions_lag_7h`, `icu_demand_lag_1h`
143
+ - Rolling: `emergency_admissions_rolling_3h`, `emergency_admissions_rolling_7h`
144
+ - Additional: `bed_occupancy`
145
 
146
+ **Output**: Staff workload index (continuous value)
 
 
 
 
 
147
 
148
+ **Performance**:
149
+ - MAE: 0.45
150
+ - R²: 0.37
151
+ - Cross-validation: 5-fold Time Series Split
152
 
153
+ ---
154
+
155
+ ## 📊 Dataset
156
+
157
+ ### **Training Dataset**: `hospital_data_ml.csv`
158
+
159
+ **Source**: Synthetically generated using realistic hospital patterns
160
+ **Size**: 4,321 records (180 days of hourly data)
161
+ **Period**: 6 months of historical data
162
+
163
+ **Features** (22 columns):
164
+
165
+ | Feature | Type | Description |
166
+ |---------|------|-------------|
167
+ | `timestamp` | datetime | Hourly timestamp |
168
+ | `hour` | int | Hour of day (0-23) |
169
+ | `day_of_week` | int | Day of week (0-6) |
170
+ | `month` | int | Month (1-12) |
171
+ | `is_weekend` | bool | Weekend indicator |
172
+ | `temperature` | float | Temperature (°C) |
173
+ | `flu_season_index` | float | Flu season intensity (0-1) |
174
+ | `air_quality_index` | float | Air quality (0-500) |
175
+ | `emergency_admissions` | int | Emergency admissions |
176
+ | `icu_demand` | int | ICU beds needed |
177
+ | `staff_workload` | float | Staff workload index |
178
+ | `bed_occupancy` | float | Bed occupancy rate |
179
+ | `emergency_admissions_lag_1h` | float | 1-hour lag |
180
+ | `emergency_admissions_lag_7h` | float | 7-hour lag |
181
+ | `emergency_admissions_rolling_3h` | float | 3-hour rolling mean |
182
+ | `emergency_admissions_rolling_7h` | float | 7-hour rolling mean |
183
+ | `icu_demand_lag_1h` | float | 1-hour lag |
184
+ | `icu_demand_lag_7h` | float | 7-hour lag |
185
+ | ... | ... | ... |
186
+
187
+ **Data Generation**:
188
+ - Base admissions: 50 per day with hourly variations
189
+ - Peak hours: 10 AM - 2 PM, 6 PM - 9 PM
190
+ - Weekend surge: +20% admissions
191
+ - Seasonal patterns: Flu season, holidays
192
+
193
+ ---
194
+
195
+ ## 📥 Input Format
196
+
197
+ ### **Web Interface Input**
198
+
199
+ **Method**: Radio button selection
200
+ **Options**:
201
+ - `"24 Hours"`
202
+ - `"48 Hours"`
203
+ - `"7 Days"`
204
+ - `"14 Days"`
205
 
206
+ ### **Programmatic Input**
207
 
208
  ```python
209
+ from app import predict_hospital_load
210
 
211
+ # Function signature
212
+ result = predict_hospital_load(time_period: str)
213
+
214
+ # Example
215
+ status, summary, alerts, details, csv_data, csv_file, json_data, json_file = predict_hospital_load("48 Hours")
216
  ```
217
 
218
+ **Parameters**:
219
+ - `time_period` (str): One of `["24 Hours", "48 Hours", "7 Days", "14 Days"]`
220
+
221
  ---
222
 
223
  ## 📤 Output Format
224
 
225
+ ### **1. CSV Output** (`predictions_[period].csv`)
 
 
226
 
227
+ **Location**: `outputs/predictions/`
228
+ **Format**: CSV with hourly predictions
229
 
230
+ **Columns**:
231
  ```csv
232
+ timestamp,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
233
+ 2026-01-03 20:00:00,2.1,0.3,0.8
234
+ 2026-01-03 21:00:00,2.3,0.4,0.9
235
+ ...
236
  ```
237
 
238
+ **Schema**:
239
+ | Column | Type | Description |
240
+ |--------|------|-------------|
241
+ | `timestamp` | datetime | Prediction timestamp |
242
+ | `predicted_emergency_admissions` | float | Expected admissions |
243
+ | `predicted_icu_demand` | float | Expected ICU beds |
244
+ | `predicted_staff_workload` | float | Staff workload index |
245
 
246
+ ---
247
+
248
+ ### **2. JSON Output** (`report_[period].json`)
249
+
250
+ **Location**: `outputs/reports/`
251
+ **Format**: JSON report with metadata and metrics
252
 
253
+ **Structure**:
254
  ```json
255
  {
256
+ "period": "Next 48 Hours",
257
+ "generated_at": "2026-01-03T23:15:00",
258
+ "hours": 48,
259
+ "load_classification": "🟡 MEDIUM LOAD",
260
+ "load_score": 6,
261
+ "metrics": {
262
+ "total_admissions": 105,
263
+ "peak_admissions": 3.2,
264
+ "avg_admissions": 2.2,
265
+ "peak_icu": 0.5,
266
+ "avg_icu": 0.3,
267
  "peak_staff": 5,
268
  "status": "NORMAL"
269
  },
270
+ "recommendation": "⚡ Moderate patient volume. Increase staff by 20-30%. Monitor ICU capacity."
 
 
 
 
271
  }
272
  ```
273
 
274
+ **Fields**:
275
+ - `period` (str): Prediction period name
276
+ - `generated_at` (str): ISO timestamp of report generation
277
+ - `hours` (int): Number of hours predicted
278
+ - `load_classification` (str): Load level with emoji (🔴/🟡/🟢)
279
+ - `load_score` (int): Score out of 13
280
+ - `metrics` (object): Key performance indicators
281
+ - `recommendation` (str): Action items for hospital staff
282
 
283
+ ---
 
284
 
285
+ ### **3. Web Interface Output**
 
 
 
 
286
 
287
+ **Tabs**:
288
 
289
+ 1. **📊 Summary**: Overview with load classification and key metrics
290
+ 2. **⚠️ Alerts**: Critical warnings and recommendations
291
+ 3. **📈 Details**: Detailed breakdown by department
292
+ 4. **💾 Download**: CSV/JSON file previews and download buttons
293
 
294
  ---
295
 
296
+ ## 🔧 Installation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
 
298
+ ### **Prerequisites**
299
+ - Python 3.10+
300
+ - pip package manager
301
 
302
+ ### **Steps**
303
 
304
+ 1. **Clone Repository**
305
+ ```bash
306
+ git clone https://github.com/Rishiraj-Pathak-27/hospital-forecasting.git
307
+ cd hospital-forecasting
308
+ ```
309
 
310
+ 2. **Install Dependencies**
311
  ```bash
 
312
  pip install -r requirements.txt
313
  ```
314
 
315
+ **Dependencies**:
316
+ ```
317
+ pandas==2.0.3
318
+ numpy==1.24.3
319
+ scikit-learn==1.3.0
320
+ xgboost==2.0.0
321
+ gradio==3.50.2
322
+ joblib==1.3.2
323
+ ```
324
 
325
+ 3. **Verify Models**
326
  ```bash
327
+ python -c "import os; print('Models:', os.listdir('models/'))"
328
+ # Should show: ['icu_demand_model.pkl', 'staff_workload_model.pkl']
329
  ```
330
 
331
+ ---
 
 
 
 
 
 
332
 
333
+ ## 🚀 Usage
334
 
335
+ ### **Web Interface**
336
 
337
  ```bash
338
+ python app.py
339
+ ```
340
 
341
+ Open browser to `http://127.0.0.1:7860`
 
342
 
343
+ ### **Programmatic Usage**
 
 
344
 
345
+ ```python
346
+ from scripts.predict_flexible import FlexiblePredictor
347
 
348
+ # Initialize predictor
349
+ predictor = FlexiblePredictor()
350
 
351
+ # Make prediction
352
+ predictions_df, optimization = predictor._predict_period(
353
+ hours=48,
354
+ period_name="Next 48 Hours",
355
+ start_offset=0
356
+ )
357
+
358
+ # Access results
359
+ print(predictions_df.head())
360
+ print(optimization['staff_requirements'])
361
+ ```
362
+
363
+ ### **Retrain Models**
364
 
365
  ```bash
366
+ python scripts/train_models.py
367
  ```
368
 
369
+ ---
 
 
370
 
371
+ ## 📍 File Locations
372
 
373
+ ### **Core Files**
374
+ - Main Application: `app.py`
375
+ - Configuration: `config.py`
376
+ - Dependencies: `requirements.txt`
377
 
378
+ ### **Data Files**
379
+ - Raw Data: `data/hospital_data.csv` (4,321 rows)
380
+ - ML Data: `data/hospital_data_ml.csv` (4,321 rows, 22 features)
381
 
382
+ ### **Model Files**
383
+ - ICU Model: `models/icu_demand_model.pkl` (Size: ~2.6 MB)
384
+ - Staff Model: `models/staff_workload_model.pkl` (Size: ~2.6 MB)
 
 
 
 
 
385
 
386
+ ### **Script Files**
387
+ - Prediction Engine: `scripts/predict_flexible.py`
388
+ - Model Classes: `scripts/xgboost_predictors.py`
389
+ - Optimization: `scripts/resource_optimizer.py`
390
+ - Training: `scripts/train_models.py`
391
 
392
+ ### **Output Files** (Generated at runtime)
393
+ - Predictions: `outputs/predictions/predictions_[24_Hours|48_Hours|7_Days|14_Days].csv`
394
+ - Reports: `outputs/reports/report_[24_Hours|48_Hours|7_Days|14_Days].json`
395
 
396
+ ---
 
 
397
 
398
+ ## 📈 Model Performance
 
 
 
399
 
400
+ ### **ICU Demand Model**
401
 
402
+ | Metric | Value |
403
+ |--------|-------|
404
+ | Mean Absolute Error | 0.24 beds |
405
+ | R² Score | 0.32 |
406
+ | RMSE | 0.31 beds |
407
+ | Cross-Validation MAE | 0.24 ± 0.04 |
408
 
409
+ **Top Features**:
410
+ 1. `emergency_admissions_rolling_3h` (18.9%)
411
+ 2. `icu_demand_lag_1h` (14.2%)
412
+ 3. `emergency_admissions_lag_1h` (11.2%)
413
 
414
+ ### **Staff Workload Model**
 
 
415
 
416
+ | Metric | Value |
417
+ |--------|-------|
418
+ | Mean Absolute Error | 0.45 |
419
+ | R² Score | 0.37 |
420
+ | Cross-Validation MAE | 0.45 ± 0.02 |
421
+
422
+ **Top Features**:
423
+ 1. `emergency_admissions_rolling_3h` (27.6%)
424
+ 2. `icu_demand_lag_1h` (17.6%)
425
+ 3. `emergency_admissions_lag_1h` (10.4%)
426
 
427
  ---
428
 
429
+ ## 🎯 Period-Specific Thresholds
430
 
431
+ The system uses adaptive thresholds based on prediction window:
432
 
433
+ | Period | Admission High | Admission Med | ICU High | ICU Med | Total High | Total Med |
434
+ |--------|---------------|---------------|----------|---------|------------|-----------|
435
+ | **24h** | 2.8/hr | 2.2/hr | 0.6 | 0.35 | 55 | 40 |
436
+ | **48h** | 2.5/hr | 1.9/hr | 0.45 | 0.28 | 100 | 75 |
437
+ | **7d** | 2.3/hr | 1.7/hr | 0.35 | 0.22 | 350 | 250 |
438
+ | **14d** | 2.1/hr | 1.5/hr | 0.30 | 0.18 | 680 | 500 |
439
+
440
+ **Scoring System** (13-point scale):
441
+ - Admissions: 0-3 points
442
+ - ICU Demand: 0-3 points
443
+ - Peak Volume: 0-3 points
444
+ - Total Volume: 0-2 points
445
+ - Staff Load: 0-2 points
446
+
447
+ **Classification**:
448
+ - 🔴 HIGH LOAD: Score ≥ 9
449
+ - 🟡 MEDIUM LOAD: Score 5-8
450
+ - 🟢 LOW LOAD: Score ≤ 4
451
 
452
  ---
453
 
454
+ ## 🛠️ Technology Stack
455
 
456
+ - **ML Framework**: XGBoost 2.0.0
457
+ - **Web Framework**: Gradio 3.50.2
458
+ - **Data Processing**: Pandas 2.0.3, NumPy 1.24.3
459
+ - **ML Tools**: Scikit-learn 1.3.0
460
+ - **Model Persistence**: Joblib 1.3.2
461
+ - **Language**: Python 3.10+
462
 
463
  ---
464
 
465
+ ## 📝 License
466
 
467
+ MIT License - See LICENSE file for details
 
 
 
 
 
 
468
 
469
  ---
470
 
471
+ ## 👨‍💻 Author
472
 
473
+ **Rishiraj Pathak**
474
+ - GitHub: [@Rishiraj-Pathak-27](https://github.com/Rishiraj-Pathak-27)
475
+ - HuggingFace: [@rishirajpathak](https://huggingface.co/rishirajpathak)
 
 
 
476
 
477
  ---
478
 
479
+ ## 🙏 Acknowledgments
480
 
481
+ - XGBoost library for efficient gradient boosting
482
+ - Gradio for simple web interface creation
483
+ - Synthetic data generation based on real-world hospital patterns
484
+
485
+ ---
486
 
487
+ ## 📞 Support
 
488
 
489
+ For issues or questions:
490
+ - Open an issue on [GitHub](https://github.com/Rishiraj-Pathak-27/hospital-forecasting/issues)
491
+ - Visit the [HuggingFace Space](https://huggingface.co/spaces/rishirajpathak/hospital-ai-forecasting)
492
 
493
  ---
494
 
495
+ **Last Updated**: January 3, 2026
app.py CHANGED
@@ -252,8 +252,11 @@ def predict_hospital_load(time_period):
252
  # CSV output
253
  csv_output = predictions_df.to_csv(index=False)
254
 
255
- # Save files
256
- csv_path = f"predictions_{time_period.replace(' ', '_')}.csv"
 
 
 
257
  predictions_df.to_csv(csv_path, index=False)
258
 
259
  # JSON report
@@ -276,7 +279,7 @@ def predict_hospital_load(time_period):
276
  }
277
  json_output = json.dumps(report, indent=2)
278
 
279
- json_path = f"report_{time_period.replace(' ', '_')}.json"
280
  with open(json_path, 'w') as f:
281
  json.dump(report, f, indent=2)
282
 
 
252
  # CSV output
253
  csv_output = predictions_df.to_csv(index=False)
254
 
255
+ # Save files to outputs folder
256
+ os.makedirs("outputs/predictions", exist_ok=True)
257
+ os.makedirs("outputs/reports", exist_ok=True)
258
+
259
+ csv_path = f"outputs/predictions/predictions_{time_period.replace(' ', '_')}.csv"
260
  predictions_df.to_csv(csv_path, index=False)
261
 
262
  # JSON report
 
279
  }
280
  json_output = json.dumps(report, indent=2)
281
 
282
+ json_path = f"outputs/reports/report_{time_period.replace(' ', '_')}.json"
283
  with open(json_path, 'w') as f:
284
  json.dump(report, f, indent=2)
285
 
predictions_14_Days.csv DELETED
@@ -1,337 +0,0 @@
1
- datetime,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
2
- 2026-01-03 20:01:54.727429,2.345284530226278,0.05515779,0.1568884
3
- 2026-01-03 21:01:54.727429,2.644722100499821,0.5493877,0.17538269
4
- 2026-01-03 22:01:54.727429,3.683536594404074,0.254133,0.38199136
5
- 2026-01-03 23:01:54.727429,2.0722810649310865,0.21464522,0.532961
6
- 2026-01-04 00:01:54.727429,2.4651141273044255,0.22307666,0.55390984
7
- 2026-01-04 01:01:54.727429,2.745994082222377,0.25664386,0.5040812
8
- 2026-01-04 02:01:54.727429,3.0800607685405015,0.19050956,0.41205174
9
- 2026-01-04 03:01:54.727429,2.9716459544744955,0.31816956,0.5669745
10
- 2026-01-04 04:01:54.727429,3.0279619968780955,0.18375692,0.51167077
11
- 2026-01-04 05:01:54.727429,1.6553715972260794,0.1924239,0.3213279
12
- 2026-01-04 06:01:54.727429,2.3687794985909525,0.2705416,0.6072972
13
- 2026-01-04 07:01:54.727429,2.146065645524175,0.25552845,0.4518037
14
- 2026-01-04 08:01:54.727429,1.8935620957980595,0.32346424,0.55164015
15
- 2026-01-04 09:01:54.727429,1.9549884202654646,0.24133599,0.497799
16
- 2026-01-04 10:01:54.727429,1.2377139435995403,0.47987822,0.5667652
17
- 2026-01-04 11:01:54.727429,1.792078849530859,0.21389301,0.74014115
18
- 2026-01-04 12:01:54.727429,1.512954627552111,0.22343162,0.7416804
19
- 2026-01-04 13:01:54.727429,1.4989688675669939,0.24934621,0.48503995
20
- 2026-01-04 14:01:54.727429,1.9282988498088132,0.19614062,0.47799632
21
- 2026-01-04 15:01:54.727429,1.4003569679926975,0.37071955,0.59072167
22
- 2026-01-04 16:01:54.727429,1.412430446469086,0.35001427,0.37696916
23
- 2026-01-04 17:01:54.727429,2.168721872375643,0.34797248,0.34387678
24
- 2026-01-04 18:01:54.727429,1.6223148233253069,0.20893809,0.37669584
25
- 2026-01-04 19:01:54.727429,2.186671534667208,0.32341453,0.5261086
26
- 2026-01-04 20:01:54.727429,3.0042320287209,0.097505204,0.32805347
27
- 2026-01-04 21:01:54.727429,2.7415500580368204,0.26468968,0.29954374
28
- 2026-01-04 22:01:54.727429,3.1477412588106124,0.10460297,0.3840541
29
- 2026-01-04 23:01:54.727429,2.5771894198740557,0.24641638,0.42642945
30
- 2026-01-05 00:01:54.727429,2.8003689667853338,0.16573471,0.6238249
31
- 2026-01-05 01:01:54.727429,2.4530266239542042,0.25608328,0.7556973
32
- 2026-01-05 02:01:54.727429,1.896640432542868,0.27661195,0.49426025
33
- 2026-01-05 03:01:54.727429,2.054208545432922,0.14117676,0.5957064
34
- 2026-01-05 04:01:54.727429,2.172225877008393,0.27577376,0.6118228
35
- 2026-01-05 05:01:54.727429,2.1425944664676897,0.3021314,0.84572065
36
- 2026-01-05 06:01:54.727429,1.7453001369753716,0.34852397,0.5847048
37
- 2026-01-05 07:01:54.727429,1.5914105095229891,0.23153201,0.6156544
38
- 2026-01-05 08:01:54.727429,1.4850141782041346,0.22373927,0.6607083
39
- 2026-01-05 09:01:54.727429,1.5591117791492721,0.17882067,0.44007635
40
- 2026-01-05 10:01:54.727429,1.5863516140206038,0.39701754,0.59958786
41
- 2026-01-05 11:01:54.727429,1.076618700522594,0.32281455,0.65389216
42
- 2026-01-05 12:01:54.727429,1.309167921916908,0.44774762,0.8686614
43
- 2026-01-05 13:01:54.727429,1.2614852148603017,0.3481501,0.71669793
44
- 2026-01-05 14:01:54.727429,1.8099882631918305,0.25306493,0.5918161
45
- 2026-01-05 15:01:54.727429,1.1053052881494076,0.08153248,0.5983709
46
- 2026-01-05 16:01:54.727429,1.6350087733716527,0.2947889,0.42465684
47
- 2026-01-05 17:01:54.727429,1.2956614285552175,0.17768702,0.42432982
48
- 2026-01-05 18:01:54.727429,2.2788499704631184,0.18213153,0.396081
49
- 2026-01-05 19:01:54.727429,2.0193056552418067,0.18989083,0.40538436
50
- 2026-01-05 20:01:54.727429,2.4853854596331173,0.07898349,0.3963439
51
- 2026-01-05 21:01:54.727429,1.890409267220296,0.14490776,0.5045845
52
- 2026-01-05 22:01:54.727429,2.3922461022559434,0.3275621,0.4984506
53
- 2026-01-05 23:01:54.727429,2.2229824876501927,0.297178,0.40041342
54
- 2026-01-06 00:01:54.727429,1.834010521352757,0.3359171,0.7845055
55
- 2026-01-06 01:01:54.727429,2.302355904007476,0.20174864,0.5868211
56
- 2026-01-06 02:01:54.727429,2.052350358834605,0.2769591,0.6476845
57
- 2026-01-06 03:01:54.727429,1.9159242871865114,0.09987658,0.73111165
58
- 2026-01-06 04:01:54.727429,2.283783603974904,0.14624366,0.65779126
59
- 2026-01-06 05:01:54.727429,2.143792257099476,0.15626782,0.476001
60
- 2026-01-06 06:01:54.727429,2.2098152221957847,0.20454097,0.44366032
61
- 2026-01-06 07:01:54.727429,1.8138470959971202,0.37448364,0.8319166
62
- 2026-01-06 08:01:54.727429,1.5384074676484591,0.3224315,0.73494905
63
- 2026-01-06 09:01:54.727429,1.7211629180905557,0.25020123,0.3811706
64
- 2026-01-06 10:01:54.727429,1.1240915271839145,0.40508324,0.4925374
65
- 2026-01-06 11:01:54.727429,1.5306276235290712,0.36707088,0.9177
66
- 2026-01-06 12:01:54.727429,1.167336298679439,0.41317114,0.80359066
67
- 2026-01-06 13:01:54.727429,1.2717558919240304,0.2766001,0.74136037
68
- 2026-01-06 14:01:54.727429,1.396477513899605,0.15266404,0.5502428
69
- 2026-01-06 15:01:54.727429,1.6309153659087643,0.34887367,0.79112047
70
- 2026-01-06 16:01:54.727429,1.247416339554772,0.25289607,0.51341605
71
- 2026-01-06 17:01:54.727429,1.4198138918172176,0.2752237,0.4920068
72
- 2026-01-06 18:01:54.727429,1.6422865238652953,0.27423853,0.72698647
73
- 2026-01-06 19:01:54.727429,2.1167929589782615,0.39486894,0.5606466
74
- 2026-01-06 20:01:54.727429,2.2478383755248563,0.1900045,0.5047042
75
- 2026-01-06 21:01:54.727429,2.808239053243613,0.32598826,0.5513031
76
- 2026-01-06 22:01:54.727429,2.483264718950767,0.110759936,0.48647073
77
- 2026-01-06 23:01:54.727429,1.9617129988995794,0.3029278,0.56739974
78
- 2026-01-07 00:01:54.727429,1.861528440026692,0.14543024,0.5580445
79
- 2026-01-07 01:01:54.727429,1.97126010608833,0.33310357,0.6514188
80
- 2026-01-07 02:01:54.727429,2.383544131755211,0.26349732,0.596317
81
- 2026-01-07 03:01:54.727429,2.7309869912113958,0.19791648,0.648299
82
- 2026-01-07 04:01:54.727429,2.075427040001094,0.18957841,0.63648885
83
- 2026-01-07 05:01:54.727429,1.7623379079701071,0.30188757,0.77527666
84
- 2026-01-07 06:01:54.727429,1.9273537700289218,0.3560691,0.71352255
85
- 2026-01-07 07:01:54.727429,1.6371537564275045,0.35663587,0.8085723
86
- 2026-01-07 08:01:54.727429,1.0685123599505555,0.2931145,0.5271117
87
- 2026-01-07 09:01:54.727429,1.6500939314868013,0.23312649,0.4810567
88
- 2026-01-07 10:01:54.727429,1.1396110570554299,0.33798093,0.6407692
89
- 2026-01-07 11:01:54.727429,1.0889913123508244,0.24305664,0.6467753
90
- 2026-01-07 12:01:54.727429,1.5297958263040954,0.23726997,0.69886
91
- 2026-01-07 13:01:54.727429,0.9980956467624679,0.32914957,0.5258814
92
- 2026-01-07 14:01:54.727429,1.3186368436636815,0.14970195,0.40650958
93
- 2026-01-07 15:01:54.727429,1.277451272532921,0.2803496,0.44492382
94
- 2026-01-07 16:01:54.727429,1.4949963829244213,0.283631,0.47602913
95
- 2026-01-07 17:01:54.727429,1.9539047878628302,0.24616078,0.41554615
96
- 2026-01-07 18:01:54.727429,1.5124865010687714,0.29790574,0.6391305
97
- 2026-01-07 19:01:54.727429,2.191816421764246,0.31014398,0.50671947
98
- 2026-01-07 20:01:54.727429,2.0733088314956176,0.122165136,0.4188785
99
- 2026-01-07 21:01:54.727429,2.1458258197707267,0.21819672,0.44586843
100
- 2026-01-07 22:01:54.727429,2.44725286470811,0.08399906,0.480008
101
- 2026-01-07 23:01:54.727429,2.4072024960774643,0.35331282,0.61737853
102
- 2026-01-08 00:01:54.727429,2.7094935925971746,0.26571733,0.62021905
103
- 2026-01-08 01:01:54.727429,2.700052638440842,0.18423326,0.49277538
104
- 2026-01-08 02:01:54.727429,2.231524645524613,0.38927284,0.69573617
105
- 2026-01-08 03:01:54.727429,1.8627300075789388,0.19966811,0.56284434
106
- 2026-01-08 04:01:54.727429,2.119543672199183,0.17686415,0.49936342
107
- 2026-01-08 05:01:54.727429,1.570049886360402,0.15761475,0.5291144
108
- 2026-01-08 06:01:54.727429,1.7283686131985607,0.18943237,0.35982147
109
- 2026-01-08 07:01:54.727429,2.0773489018120985,0.21102278,0.49964166
110
- 2026-01-08 08:01:54.727429,1.159903089334721,0.21224354,0.56600595
111
- 2026-01-08 09:01:54.727429,1.06332188336471,0.17364596,0.48809394
112
- 2026-01-08 10:01:54.727429,1.1823772607410357,0.45044458,0.7371372
113
- 2026-01-08 11:01:54.727429,1.4372183382213712,0.38181102,0.8674976
114
- 2026-01-08 12:01:54.727429,1.3818811935306403,0.31976798,0.5994015
115
- 2026-01-08 13:01:54.727429,1.300239539728243,0.4301087,0.67888695
116
- 2026-01-08 14:01:54.727429,1.5499855959352788,0.35331765,0.5170709
117
- 2026-01-08 15:01:54.727429,1.6234505709607252,0.49639943,0.6031519
118
- 2026-01-08 16:01:54.727429,1.8115961555085982,0.38670343,0.5139256
119
- 2026-01-08 17:01:54.727429,1.8543156379693506,0.19338779,0.42719528
120
- 2026-01-08 18:01:54.727429,2.1542101583729933,0.3272229,0.44751716
121
- 2026-01-08 19:01:54.727429,2.268638214083737,0.22329375,0.39976242
122
- 2026-01-08 20:01:54.727429,2.2981573011835974,0.05143185,0.39374322
123
- 2026-01-08 21:01:54.727429,2.0965939816225445,0.22919005,0.28580394
124
- 2026-01-08 22:01:54.727429,2.923497945812245,0.083085075,0.45558816
125
- 2026-01-08 23:01:54.727429,2.620544177742231,0.21959357,0.404783
126
- 2026-01-09 00:01:54.727429,2.850251706420467,0.17351,0.54438686
127
- 2026-01-09 01:01:54.727429,2.4915914211158627,0.1269445,0.5432551
128
- 2026-01-09 02:01:54.727429,3.3316848695858514,0.22035144,0.42893064
129
- 2026-01-09 03:01:54.727429,3.2188012081255515,0.30619445,0.5676781
130
- 2026-01-09 04:01:54.727429,2.7071887869906264,0.2841089,0.7190866
131
- 2026-01-09 05:01:54.727429,2.409177563335631,0.17625739,0.5460231
132
- 2026-01-09 06:01:54.727429,1.7933657952731834,0.26042223,0.4484161
133
- 2026-01-09 07:01:54.727429,1.639602170059957,0.23343201,0.49140722
134
- 2026-01-09 08:01:54.727429,2.0189481709969623,0.3334856,0.34515455
135
- 2026-01-09 09:01:54.727429,1.8251266387262692,0.21574353,0.6077005
136
- 2026-01-09 10:01:54.727429,1.375855343511693,0.4449523,0.81480414
137
- 2026-01-09 11:01:54.727429,1.6318163635716394,0.2892314,0.78660136
138
- 2026-01-09 12:01:54.727429,1.61782816892251,0.23232292,0.51557434
139
- 2026-01-09 13:01:54.727429,1.4223283754766165,0.22931282,0.5055135
140
- 2026-01-09 14:01:54.727429,1.4990291715134285,0.07808297,0.48208675
141
- 2026-01-09 15:01:54.727429,1.7127348470290262,0.29579416,0.6463366
142
- 2026-01-09 16:01:54.727429,1.6218777367283428,0.20474745,0.2993239
143
- 2026-01-09 17:01:54.727429,1.7823765995014162,0.1621723,0.36076614
144
- 2026-01-09 18:01:54.727429,2.053684944432124,0.31994295,0.45889202
145
- 2026-01-09 19:01:54.727429,2.3637908117214423,0.24859968,0.29506537
146
- 2026-01-09 20:01:54.727429,2.981582237835389,0.05468206,0.23984517
147
- 2026-01-09 21:01:54.727429,2.7314855807029677,0.15135498,0.26114964
148
- 2026-01-09 22:01:54.727429,2.503673428270069,0.22035494,0.3224563
149
- 2026-01-09 23:01:54.727429,3.249448622839218,0.22506133,0.4488403
150
- 2026-01-10 00:01:54.727429,2.3173150541506047,0.27686587,0.6496931
151
- 2026-01-10 01:01:54.727429,2.458200755949512,0.15136121,0.4917903
152
- 2026-01-10 02:01:54.727429,2.914170648072872,0.3214581,0.8784267
153
- 2026-01-10 03:01:54.727429,2.855840974741425,0.29662633,0.8453095
154
- 2026-01-10 04:01:54.727429,2.8447406595322597,0.15986319,0.37543985
155
- 2026-01-10 05:01:54.727429,2.4424089675305702,0.14573534,0.550668
156
- 2026-01-10 06:01:54.727429,2.2739587514131516,0.41259113,0.6801266
157
- 2026-01-10 07:01:54.727429,2.315498808392834,0.3737089,0.6202297
158
- 2026-01-10 08:01:54.727429,2.2461824965507162,0.34552073,0.6182888
159
- 2026-01-10 09:01:54.727429,2.1710530106117316,0.35959977,0.7561436
160
- 2026-01-10 10:01:54.727429,1.5959413744741175,0.2131113,0.44825125
161
- 2026-01-10 11:01:54.727429,1.6445305077562884,0.3900204,0.9129804
162
- 2026-01-10 12:01:54.727429,1.2995763287710922,0.39562136,0.8260864
163
- 2026-01-10 13:01:54.727429,1.797007719790591,0.32586884,0.50938994
164
- 2026-01-10 14:01:54.727429,1.640129542247427,0.07425085,0.29583922
165
- 2026-01-10 15:01:54.727429,1.9546918392050443,0.053915054,0.25577953
166
- 2026-01-10 16:01:54.727429,1.71070706179083,0.04045192,0.24976766
167
- 2026-01-10 17:01:54.727429,2.0369578337201935,0.097396165,0.14574364
168
- 2026-01-10 18:01:54.727429,2.391599024063574,0.2612834,0.2652273
169
- 2026-01-10 19:01:54.727429,2.817331695831983,0.21277213,0.26256415
170
- 2026-01-10 20:01:54.727429,2.679625195817727,0.11341583,0.4204104
171
- 2026-01-10 21:01:54.727429,2.677449346238028,0.14018594,0.41315418
172
- 2026-01-10 22:01:54.727429,2.653691490464309,0.12940507,0.2825465
173
- 2026-01-10 23:01:54.727429,3.3865609048201892,0.18167078,0.37586987
174
- 2026-01-11 00:01:54.727429,3.2694121763686033,0.18446201,0.5506511
175
- 2026-01-11 01:01:54.727429,2.9717476787342014,0.16529697,0.5123557
176
- 2026-01-11 02:01:54.727429,2.8283404994604693,0.38061088,0.6685224
177
- 2026-01-11 03:01:54.727429,3.137389742472759,0.18279298,0.6098655
178
- 2026-01-11 04:01:54.727429,2.2937809226381676,0.27353638,0.56241894
179
- 2026-01-11 05:01:54.727429,1.8683466769920114,0.1924239,0.3463831
180
- 2026-01-11 06:01:54.727429,2.1804465582728203,0.27620462,0.6595715
181
- 2026-01-11 07:01:54.727429,1.8272148640344161,0.3345667,0.6205756
182
- 2026-01-11 08:01:54.727429,1.5447951633986845,0.27732876,0.41925305
183
- 2026-01-11 09:01:54.727429,1.6262577085751873,0.24133599,0.497799
184
- 2026-01-11 10:01:54.727429,1.791505325750386,0.29372326,0.6582873
185
- 2026-01-11 11:01:54.727429,1.3774760584543275,0.33115476,0.7225796
186
- 2026-01-11 12:01:54.727429,1.7932186346711034,0.23695338,0.7554487
187
- 2026-01-11 13:01:54.727429,1.6617464798476074,0.23779449,0.4434766
188
- 2026-01-11 14:01:54.727429,2.097899734946319,0.4747992,0.49211258
189
- 2026-01-11 15:01:54.727429,1.776129058236355,0.2833999,0.4119352
190
- 2026-01-11 16:01:54.727429,2.4413297703944883,0.3057855,0.28580272
191
- 2026-01-11 17:01:54.727429,1.848480802362053,0.12857154,0.48026958
192
- 2026-01-11 18:01:54.727429,1.9639684984373158,0.12442641,0.21405023
193
- 2026-01-11 19:01:54.727429,2.388380030833291,0.3290686,0.12734109
194
- 2026-01-11 20:01:54.727429,2.6061355530150436,0.097505204,0.30782136
195
- 2026-01-11 21:01:54.727429,2.7333810028216434,0.19019662,0.30546626
196
- 2026-01-11 22:01:54.727429,2.1423158727364724,0.2822308,0.35203892
197
- 2026-01-11 23:01:54.727429,3.3657477680376453,0.41635442,0.44345105
198
- 2026-01-12 00:01:54.727429,2.2542817364306877,0.25852868,0.55399144
199
- 2026-01-12 01:01:54.727429,2.610284117337619,0.13751522,0.5196621
200
- 2026-01-12 02:01:54.727429,2.6746664520235344,0.16797641,0.6208537
201
- 2026-01-12 03:01:54.727429,2.219271880427683,0.20953034,0.6127332
202
- 2026-01-12 04:01:54.727429,1.991149503195116,0.17639716,0.5624728
203
- 2026-01-12 05:01:54.727429,2.226471296915219,0.23640177,0.7992665
204
- 2026-01-12 06:01:54.727429,2.17220896929196,0.22246924,0.745096
205
- 2026-01-12 07:01:54.727429,1.377406063391397,0.35774893,0.9050607
206
- 2026-01-12 08:01:54.727429,1.6308711753118996,0.31174108,0.49203166
207
- 2026-01-12 09:01:54.727429,1.5894903838640861,0.17882067,0.5564494
208
- 2026-01-12 10:01:54.727429,1.7492254024573402,0.3724431,0.57493067
209
- 2026-01-12 11:01:54.727429,1.4397649130751833,0.17217043,0.8013315
210
- 2026-01-12 12:01:54.727429,1.435711669125475,0.4367939,0.93176925
211
- 2026-01-12 13:01:54.727429,1.7746562429059718,0.43337983,0.77509886
212
- 2026-01-12 14:01:54.727429,1.5814310260263227,0.27078566,0.6625917
213
- 2026-01-12 15:01:54.727429,1.883518529241611,0.47916755,0.8452443
214
- 2026-01-12 16:01:54.727429,1.959340811871245,0.28133082,0.6256464
215
- 2026-01-12 17:01:54.727429,1.983346901057943,0.28632727,0.5416875
216
- 2026-01-12 18:01:54.727429,1.707090988018027,0.2617355,0.67925686
217
- 2026-01-12 19:01:54.727429,2.626372692589277,0.22886914,0.49945903
218
- 2026-01-12 20:01:54.727429,2.7613575926088707,0.29531127,0.5500891
219
- 2026-01-12 21:01:54.727429,2.525989759133351,0.14490776,0.41586903
220
- 2026-01-12 22:01:54.727429,1.3602867321359742,0.32467452,0.5172577
221
- 2026-01-12 23:01:54.727429,2.6911146162370945,0.23128822,0.57965475
222
- 2026-01-13 00:01:54.727429,2.39031927350284,0.16091004,0.59189934
223
- 2026-01-13 01:01:54.727429,1.4970230154423125,0.16347128,0.62409776
224
- 2026-01-13 02:01:54.727429,2.2733386620439977,0.22396073,0.6741714
225
- 2026-01-13 03:01:54.727429,2.3894422774760398,0.2679314,0.73654455
226
- 2026-01-13 04:01:54.727429,2.449979759588977,0.22979556,0.67835796
227
- 2026-01-13 05:01:54.727429,2.2114688733550656,0.26933497,0.71963197
228
- 2026-01-13 06:01:54.727429,1.847559116249424,0.23428053,0.6124214
229
- 2026-01-13 07:01:54.727429,2.1599477514834877,0.29853654,0.8956059
230
- 2026-01-13 08:01:54.727429,1.0679050880269845,0.24085993,0.4689798
231
- 2026-01-13 09:01:54.727429,1.516898258582642,0.18875712,0.6434629
232
- 2026-01-13 10:01:54.727429,1.6671724027780042,0.37340918,0.7588541
233
- 2026-01-13 11:01:54.727429,1.3707979359730091,0.24561861,0.6768065
234
- 2026-01-13 12:01:54.727429,1.0668529786833816,0.2531843,0.6706318
235
- 2026-01-13 13:01:54.727429,1.2275280391074312,0.3517529,0.72068125
236
- 2026-01-13 14:01:54.727429,1.4171391186554139,0.16453129,0.5481831
237
- 2026-01-13 15:01:54.727429,1.1527679367858095,0.07789854,0.5143377
238
- 2026-01-13 16:01:54.727429,1.5679658240493677,0.4781655,0.7064318
239
- 2026-01-13 17:01:54.727429,1.5348097270721124,0.22545126,0.49047977
240
- 2026-01-13 18:01:54.727429,1.3802331790139284,0.26635247,0.7493871
241
- 2026-01-13 19:01:54.727429,2.3131723083709397,0.24291065,0.6732427
242
- 2026-01-13 20:01:54.727429,2.297944406553298,0.06666248,0.44178382
243
- 2026-01-13 21:01:54.727429,2.0656590248319144,0.29733032,0.57875603
244
- 2026-01-13 22:01:54.727429,2.8212497676278847,0.085895136,0.49858004
245
- 2026-01-13 23:01:54.727429,2.958401682576583,0.26499385,0.6481352
246
- 2026-01-14 00:01:54.727429,1.8330246299333524,0.28914708,0.7738564
247
- 2026-01-14 01:01:54.727429,2.4450340148855423,0.16088718,0.6169879
248
- 2026-01-14 02:01:54.727429,2.4476217142594567,0.20845926,0.54325694
249
- 2026-01-14 03:01:54.727429,2.4094872814013377,0.18109453,0.48907903
250
- 2026-01-14 04:01:54.727429,2.264957464906648,0.33512288,0.79035187
251
- 2026-01-14 05:01:54.727429,1.896710443430017,0.34368345,0.6246657
252
- 2026-01-14 06:01:54.727429,1.6898339810235559,0.19976178,0.60728586
253
- 2026-01-14 07:01:54.727429,1.6980228346160977,0.32941002,0.63935685
254
- 2026-01-14 08:01:54.727429,1.8407754707058415,0.29821548,0.52545726
255
- 2026-01-14 09:01:54.727429,1.79406257136109,0.29811114,0.7299443
256
- 2026-01-14 10:01:54.727429,1.0702349882363855,0.2910674,0.6635785
257
- 2026-01-14 11:01:54.727429,1.7359263014675481,0.21368389,0.60508347
258
- 2026-01-14 12:01:54.727429,1.4949044435176597,0.23989597,0.70434374
259
- 2026-01-14 13:01:54.727429,1.3716539902577307,0.43542546,0.7631885
260
- 2026-01-14 14:01:54.727429,1.1512235057673748,0.34144762,0.26667136
261
- 2026-01-14 15:01:54.727429,1.7312022281410675,0.24603894,0.5735563
262
- 2026-01-14 16:01:54.727429,1.7690726213058556,0.06490973,0.36572132
263
- 2026-01-14 17:01:54.727429,2.0927480627551054,0.38504222,0.52735025
264
- 2026-01-14 18:01:54.727429,1.6376456673719044,0.33976084,0.37153372
265
- 2026-01-14 19:01:54.727429,1.9690519018728507,0.15826994,0.46783897
266
- 2026-01-14 20:01:54.727429,1.5923069806831982,0.29044205,0.24111247
267
- 2026-01-14 21:01:54.727429,2.39930171383883,0.43459553,0.3677087
268
- 2026-01-14 22:01:54.727429,2.556600498400636,0.16100481,0.4325167
269
- 2026-01-14 23:01:54.727429,3.3220861393696373,0.27799198,0.49721
270
- 2026-01-15 00:01:54.727429,1.8221002046186805,0.26945668,0.63562465
271
- 2026-01-15 01:01:54.727429,2.8714199527116744,0.13465597,0.60285884
272
- 2026-01-15 02:01:54.727429,2.303716231693404,0.21185212,0.4936189
273
- 2026-01-15 03:01:54.727429,2.3068995969320523,0.2797975,0.72669613
274
- 2026-01-15 04:01:54.727429,2.247313535683566,0.19719991,0.53654206
275
- 2026-01-15 05:01:54.727429,2.373352451097769,0.15761475,0.5814707
276
- 2026-01-15 06:01:54.727429,1.7558792570367432,0.20447142,0.63971466
277
- 2026-01-15 07:01:54.727429,1.599202145875831,0.22009984,0.560931
278
- 2026-01-15 08:01:54.727429,1.6322787535329553,0.32233733,0.76292545
279
- 2026-01-15 09:01:54.727429,1.1473140396764996,0.338487,0.49694997
280
- 2026-01-15 10:01:54.727429,1.1341524811419157,0.39268905,0.5805852
281
- 2026-01-15 11:01:54.727429,1.161962093702873,0.3217896,0.7717089
282
- 2026-01-15 12:01:54.727429,1.0699982162926103,0.4486235,0.9609075
283
- 2026-01-15 13:01:54.727429,1.2223110451028916,0.3597381,0.6768096
284
- 2026-01-15 14:01:54.727429,1.2813987784693084,0.1990716,0.52782816
285
- 2026-01-15 15:01:54.727429,1.762563203747038,0.24641384,0.47695658
286
- 2026-01-15 16:01:54.727429,1.2797323925166473,0.2123049,0.4907432
287
- 2026-01-15 17:01:54.727429,1.2530945434772076,0.26938978,0.48088035
288
- 2026-01-15 18:01:54.727429,1.5661354790388535,0.16112712,0.40771103
289
- 2026-01-15 19:01:54.727429,1.522931678678407,0.29862452,0.5336766
290
- 2026-01-15 20:01:54.727429,1.788788783401376,0.2742624,0.53151536
291
- 2026-01-15 21:01:54.727429,2.5612950902193687,0.14072691,0.35230178
292
- 2026-01-15 22:01:54.727429,2.6090824443545513,0.28950092,0.30577832
293
- 2026-01-15 23:01:54.727429,2.3673750693168802,0.39904684,0.6058703
294
- 2026-01-16 00:01:54.727429,2.9036222710519657,0.30785218,0.63156074
295
- 2026-01-16 01:01:54.727429,3.2057397913279004,0.3073513,0.675532
296
- 2026-01-16 02:01:54.727429,2.4587742591164217,0.25770453,0.44955215
297
- 2026-01-16 03:01:54.727429,3.1010735020258418,0.15174185,0.5052063
298
- 2026-01-16 04:01:54.727429,2.954593927859194,0.12564883,0.5570956
299
- 2026-01-16 05:01:54.727429,1.8403642198126777,0.17625739,0.5451531
300
- 2026-01-16 06:01:54.727429,1.7147685365933025,0.2165107,0.4466352
301
- 2026-01-16 07:01:54.727429,2.261584634926285,0.23448321,0.4692086
302
- 2026-01-16 08:01:54.727429,1.9615385735808653,0.25173622,0.5723308
303
- 2026-01-16 09:01:54.727429,2.16818643759799,0.35478663,0.764166
304
- 2026-01-16 10:01:54.727429,1.078443813046535,0.21871199,0.5743995
305
- 2026-01-16 11:01:54.727429,1.6618851194845892,0.17555116,0.63077325
306
- 2026-01-16 12:01:54.727429,1.4403282621517937,0.43088394,0.8502649
307
- 2026-01-16 13:01:54.727429,1.554022651958672,0.31887892,0.53201807
308
- 2026-01-16 14:01:54.727429,1.7212753828826948,0.22088097,0.629142
309
- 2026-01-16 15:01:54.727429,2.0987788774866436,0.18074451,0.33391404
310
- 2026-01-16 16:01:54.727429,1.9872606466560578,0.03837961,0.2482092
311
- 2026-01-16 17:01:54.727429,2.201756862072688,0.23454973,0.44610855
312
- 2026-01-16 18:01:54.727429,2.1758060366691216,0.06962194,0.4166099
313
- 2026-01-16 19:01:54.727429,2.2685547560541006,0.28125596,0.53699833
314
- 2026-01-16 20:01:54.727429,2.555794552763433,0.41549763,0.28978863
315
- 2026-01-16 21:01:54.727429,2.033685897524302,0.1765597,0.07939604
316
- 2026-01-16 22:01:54.727429,3.3116862759829915,0.12777363,0.4149976
317
- 2026-01-16 23:01:54.727429,2.5080012765386415,0.20639238,0.45697305
318
- 2026-01-17 00:01:54.727429,2.8422394329340244,0.23632033,0.4886418
319
- 2026-01-17 01:01:54.727429,2.294328789696297,0.12713093,0.36782545
320
- 2026-01-17 02:01:54.727429,3.1973871409188925,0.34282526,0.59270155
321
- 2026-01-17 03:01:54.727429,2.2022559386455614,0.13638894,0.6996595
322
- 2026-01-17 04:01:54.727429,2.702540191203876,0.15907465,0.54867125
323
- 2026-01-17 05:01:54.727429,2.5381699562079096,0.16090445,0.39707047
324
- 2026-01-17 06:01:54.727429,2.3104786719429993,0.21353988,0.6558099
325
- 2026-01-17 07:01:54.727429,2.15217844020362,0.21499553,0.36915487
326
- 2026-01-17 08:01:54.727429,2.022307766251456,0.43096516,0.6649169
327
- 2026-01-17 09:01:54.727429,2.024058010239184,0.4049796,0.5447715
328
- 2026-01-17 10:01:54.727429,1.6525562373096183,0.2131113,0.3598354
329
- 2026-01-17 11:01:54.727429,1.6117424743591966,0.16216214,0.67784023
330
- 2026-01-17 12:01:54.727429,1.7867283531870084,0.31676596,0.8904886
331
- 2026-01-17 13:01:54.727429,1.561309704211495,0.28594655,0.43182498
332
- 2026-01-17 14:01:54.727429,1.5706458830405612,0.21024963,0.63560915
333
- 2026-01-17 15:01:54.727429,1.865149636728773,0.20880194,0.5803374
334
- 2026-01-17 16:01:54.727429,1.7848013780763055,0.04045192,0.45149422
335
- 2026-01-17 17:01:54.727429,2.030461120062605,0.19586174,0.28868896
336
- 2026-01-17 18:01:54.727429,2.91432371996645,0.070097655,0.15298428
337
- 2026-01-17 19:01:54.727429,2.565098042203036,0.083019935,0.1729688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
predictions_24_Hours.csv DELETED
@@ -1,25 +0,0 @@
1
- datetime,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
2
- 2026-01-03 20:01:54.727429,2.9211377328495978,0.13189252,0.20183866
3
- 2026-01-03 21:01:54.727429,2.791919412118563,0.27192038,0.3906448
4
- 2026-01-03 22:01:54.727429,2.5208020196715424,0.13448383,0.12949558
5
- 2026-01-03 23:01:54.727429,2.7902821834077285,0.39016354,0.5440593
6
- 2026-01-04 00:01:54.727429,3.0746363657643005,0.27947327,0.656864
7
- 2026-01-04 01:01:54.727429,2.492600144860722,0.23205188,0.6011408
8
- 2026-01-04 02:01:54.727429,1.613809152680336,0.26215306,0.56535435
9
- 2026-01-04 03:01:54.727429,2.64855766382643,0.22207738,0.48088855
10
- 2026-01-04 04:01:54.727429,2.711749915559111,0.2428085,0.5497673
11
- 2026-01-04 05:01:54.727429,1.9073506852909572,0.1924239,0.3780534
12
- 2026-01-04 06:01:54.727429,1.8797926606046682,0.5128772,0.66267735
13
- 2026-01-04 07:01:54.727429,2.104883720105385,0.42644507,0.7074117
14
- 2026-01-04 08:01:54.727429,1.5657139595770664,0.35890344,0.63170487
15
- 2026-01-04 09:01:54.727429,2.0431686424240367,0.3721141,0.448074
16
- 2026-01-04 10:01:54.727429,2.1704086552358106,0.44337443,0.66768885
17
- 2026-01-04 11:01:54.727429,1.613248828090769,0.44254744,0.7860142
18
- 2026-01-04 12:01:54.727429,2.0771639308153786,0.30218366,0.7383934
19
- 2026-01-04 13:01:54.727429,1.5560005111043664,0.3524503,0.58177984
20
- 2026-01-04 14:01:54.727429,1.8880285652997495,0.100834966,0.3464421
21
- 2026-01-04 15:01:54.727429,1.7987814985071953,0.3693926,0.7194705
22
- 2026-01-04 16:01:54.727429,2.1055874799985617,0.27431402,0.57759035
23
- 2026-01-04 17:01:54.727429,2.2321975295858048,0.0914574,0.29492107
24
- 2026-01-04 18:01:54.727429,1.922261179519428,0.12442641,0.17777199
25
- 2026-01-04 19:01:54.727429,2.1772757014517765,0.29834193,0.32750374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
predictions_48_Hours.csv DELETED
@@ -1,49 +0,0 @@
1
- datetime,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
2
- 2026-01-03 20:01:54.727429,3.0196696383280797,0.18252952,0.27400658
3
- 2026-01-03 21:01:54.727429,2.2886120531459087,0.51151574,0.2212318
4
- 2026-01-03 22:01:54.727429,3.3027513001855757,0.11831317,0.43730715
5
- 2026-01-03 23:01:54.727429,2.772009601335629,0.3772818,0.44965726
6
- 2026-01-04 00:01:54.727429,3.2520772083463347,0.18446201,0.47208557
7
- 2026-01-04 01:01:54.727429,2.920546787020338,0.16388303,0.5918813
8
- 2026-01-04 02:01:54.727429,2.710983498423261,0.3812427,0.823651
9
- 2026-01-04 03:01:54.727429,2.8688839388131955,0.18818007,0.58385426
10
- 2026-01-04 04:01:54.727429,2.1341800614667465,0.26725098,0.481439
11
- 2026-01-04 05:01:54.727429,2.9270725148529566,0.34599748,0.7956889
12
- 2026-01-04 06:01:54.727429,2.5696637567831333,0.29822785,0.65943164
13
- 2026-01-04 07:01:54.727429,2.0721356141650444,0.25552845,0.50001305
14
- 2026-01-04 08:01:54.727429,2.438743543532616,0.42123622,0.72839034
15
- 2026-01-04 09:01:54.727429,1.5557535117620045,0.40684566,0.8225064
16
- 2026-01-04 10:01:54.727429,1.3684196047430204,0.27580506,0.54438394
17
- 2026-01-04 11:01:54.727429,1.6800509287045375,0.3181593,0.6292892
18
- 2026-01-04 12:01:54.727429,1.4362287987629234,0.34531906,0.67378783
19
- 2026-01-04 13:01:54.727429,2.0563788031662544,0.24934621,0.46397215
20
- 2026-01-04 14:01:54.727429,1.782908289128992,0.100834966,0.3372856
21
- 2026-01-04 15:01:54.727429,1.806536759332145,0.28515878,0.3603894
22
- 2026-01-04 16:01:54.727429,1.9043971834452935,0.23156744,0.17938322
23
- 2026-01-04 17:01:54.727429,1.7467960433214926,0.33607638,0.3139763
24
- 2026-01-04 18:01:54.727429,2.3314839690421167,0.37250197,0.34146765
25
- 2026-01-04 19:01:54.727429,2.6759298578018713,0.1505147,0.30736256
26
- 2026-01-04 20:01:54.727429,2.6130848732238827,0.097505204,0.32805347
27
- 2026-01-04 21:01:54.727429,2.293151622436831,0.29308906,0.32700673
28
- 2026-01-04 22:01:54.727429,3.0640186578920336,0.12771022,0.3094192
29
- 2026-01-04 23:01:54.727429,2.7984021905037704,0.25717607,0.348239
30
- 2026-01-05 00:01:54.727429,1.9196638447862935,0.25346908,0.70181096
31
- 2026-01-05 01:01:54.727429,1.9726378620133012,0.13751522,0.6393329
32
- 2026-01-05 02:01:54.727429,1.8524222434130158,0.36935297,0.6926222
33
- 2026-01-05 03:01:54.727429,2.0079884001146,0.20953034,0.5321981
34
- 2026-01-05 04:01:54.727429,2.1932656772561576,0.1484431,0.5680718
35
- 2026-01-05 05:01:54.727429,2.233592927662154,0.28533146,0.8001187
36
- 2026-01-05 06:01:54.727429,1.2193831846237027,0.37163076,0.6126455
37
- 2026-01-05 07:01:54.727429,1.6939955221913694,0.2235507,0.48714438
38
- 2026-01-05 08:01:54.727429,1.6140069329754325,0.41687655,0.75676316
39
- 2026-01-05 09:01:54.727429,1.221768608493111,0.33221957,0.8279032
40
- 2026-01-05 10:01:54.727429,1.1376885817103615,0.18841138,0.5972522
41
- 2026-01-05 11:01:54.727429,1.3619274118848952,0.37849838,0.9902548
42
- 2026-01-05 12:01:54.727429,1.241733107634081,0.24800661,0.58876395
43
- 2026-01-05 13:01:54.727429,1.477727224172286,0.21761592,0.72552013
44
- 2026-01-05 14:01:54.727429,1.432380061435122,0.1648817,0.399707
45
- 2026-01-05 15:01:54.727429,1.5369728960988256,0.10140169,0.4716863
46
- 2026-01-05 16:01:54.727429,1.375549058768056,0.09490685,0.52829117
47
- 2026-01-05 17:01:54.727429,1.9516990833814614,0.24262598,0.5432305
48
- 2026-01-05 18:01:54.727429,1.44753627399031,0.25471652,0.40704668
49
- 2026-01-05 19:01:54.727429,1.9465966507401162,0.22052613,0.4322215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
predictions_7_Days.csv DELETED
@@ -1,169 +0,0 @@
1
- datetime,predicted_emergency_admissions,predicted_icu_demand,predicted_staff_workload
2
- 2026-01-03 20:01:54.727429,2.6996031428894782,0.32566455,0.18579865
3
- 2026-01-03 21:01:54.727429,2.029527470348939,0.14018594,0.19380279
4
- 2026-01-03 22:01:54.727429,3.0394251535817918,0.10162014,0.46089527
5
- 2026-01-03 23:01:54.727429,2.9510936187898054,0.20773439,0.37273347
6
- 2026-01-04 00:01:54.727429,3.4277785772383127,0.27583474,0.46932936
7
- 2026-01-04 01:01:54.727429,2.7072244043316354,0.19969314,0.6430172
8
- 2026-01-04 02:01:54.727429,3.7275007384003755,0.30939987,0.57330424
9
- 2026-01-04 03:01:54.727429,2.1050215494752127,0.36071047,0.58301985
10
- 2026-01-04 04:01:54.727429,2.5910918949681303,0.20603983,0.58721066
11
- 2026-01-04 05:01:54.727429,2.4511971715766814,0.46202433,0.72741663
12
- 2026-01-04 06:01:54.727429,2.2035717084657596,0.2858939,0.52046263
13
- 2026-01-04 07:01:54.727429,2.5260035502384195,0.32070458,0.47039247
14
- 2026-01-04 08:01:54.727429,1.8296678708129321,0.27732876,0.42581415
15
- 2026-01-04 09:01:54.727429,2.0600710700460385,0.33833963,0.65548337
16
- 2026-01-04 10:01:54.727429,1.2973407788812905,0.24844505,0.44965968
17
- 2026-01-04 11:01:54.727429,1.5556311393224342,0.270877,0.63898754
18
- 2026-01-04 12:01:54.727429,1.7373090352664715,0.32572547,0.67145854
19
- 2026-01-04 13:01:54.727429,1.324477220477723,0.3410775,0.3824246
20
- 2026-01-04 14:01:54.727429,1.35282454336501,0.28156534,0.59197086
21
- 2026-01-04 15:01:54.727429,2.0075411223197843,0.43612483,0.4013244
22
- 2026-01-04 16:01:54.727429,1.763342246045607,0.08537479,0.45710224
23
- 2026-01-04 17:01:54.727429,1.566492408394,0.30211297,0.31801423
24
- 2026-01-04 18:01:54.727429,2.257632682312077,0.30367026,0.2775594
25
- 2026-01-04 19:01:54.727429,2.342580984024563,0.14565974,0.37940332
26
- 2026-01-04 20:01:54.727429,1.9965749080741977,0.3155817,0.20541838
27
- 2026-01-04 21:01:54.727429,3.041568221511699,0.38447407,-0.023499275
28
- 2026-01-04 22:01:54.727429,3.3822926666073014,0.19956556,0.5280792
29
- 2026-01-04 23:01:54.727429,2.619107664802747,0.24641638,0.41298127
30
- 2026-01-05 00:01:54.727429,2.7432408112843145,0.1997833,0.52265704
31
- 2026-01-05 01:01:54.727429,1.70014891669575,0.2472334,0.63365513
32
- 2026-01-05 02:01:54.727429,1.7542952703053019,0.17737514,0.7348718
33
- 2026-01-05 03:01:54.727429,1.8793216983867265,0.1871034,0.40652108
34
- 2026-01-05 04:01:54.727429,1.6517356988655216,0.12643509,0.608778
35
- 2026-01-05 05:01:54.727429,1.8429494498475592,0.17798078,0.6767153
36
- 2026-01-05 06:01:54.727429,1.372417954765754,0.2096808,0.46800157
37
- 2026-01-05 07:01:54.727429,1.924103900262258,0.19571969,0.4318905
38
- 2026-01-05 08:01:54.727429,1.7316475691673074,0.36465934,0.5258376
39
- 2026-01-05 09:01:54.727429,1.1943712782441125,0.2620781,0.45582852
40
- 2026-01-05 10:01:54.727429,1.054592732649408,0.40621418,0.65304273
41
- 2026-01-05 11:01:54.727429,1.0888838894631536,0.15234622,0.69658226
42
- 2026-01-05 12:01:54.727429,0.8894601822865352,0.29587504,0.6737133
43
- 2026-01-05 13:01:54.727429,1.596631179698715,0.29436785,0.5395192
44
- 2026-01-05 14:01:54.727429,1.8531695118113036,0.24094412,0.4649602
45
- 2026-01-05 15:01:54.727429,1.2908430333115697,0.45180264,0.71359175
46
- 2026-01-05 16:01:54.727429,1.498213846737897,0.27573946,0.58957314
47
- 2026-01-05 17:01:54.727429,1.5971888335290088,0.19392571,0.45212448
48
- 2026-01-05 18:01:54.727429,1.4793583889336221,0.18213153,0.6249251
49
- 2026-01-05 19:01:54.727429,1.885324587263272,0.24041185,0.4379487
50
- 2026-01-05 20:01:54.727429,2.6746569676046397,0.21408969,0.33909672
51
- 2026-01-05 21:01:54.727429,2.209452567182967,0.14490776,0.40381524
52
- 2026-01-05 22:01:54.727429,2.0587237516998402,0.112136796,0.4183135
53
- 2026-01-05 23:01:54.727429,2.368127582582298,0.28648308,0.58687955
54
- 2026-01-06 00:01:54.727429,2.4444535478134566,0.25547683,0.6131175
55
- 2026-01-06 01:01:54.727429,1.6030734297987022,0.13435447,0.58646977
56
- 2026-01-06 02:01:54.727429,2.3291796461376375,0.3345248,0.7394898
57
- 2026-01-06 03:01:54.727429,2.035054442705805,0.3187797,0.7901461
58
- 2026-01-06 04:01:54.727429,2.27847056081963,0.14624366,0.5200483
59
- 2026-01-06 05:01:54.727429,2.246941603757168,0.27243274,0.6827937
60
- 2026-01-06 06:01:54.727429,1.9185847184035751,0.20454097,0.5395619
61
- 2026-01-06 07:01:54.727429,1.590994412298131,0.36268893,0.67075354
62
- 2026-01-06 08:01:54.727429,1.5275476373162007,0.2195781,0.5369911
63
- 2026-01-06 09:01:54.727429,1.509734176562416,0.4635036,0.91350865
64
- 2026-01-06 10:01:54.727429,1.3539007247059798,0.36245283,0.7228721
65
- 2026-01-06 11:01:54.727429,1.4935845985002445,0.20773786,0.47942355
66
- 2026-01-06 12:01:54.727429,1.1591192291728882,0.43806303,0.86290175
67
- 2026-01-06 13:01:54.727429,1.478367047275958,0.25456783,0.5930389
68
- 2026-01-06 14:01:54.727429,1.3430988881091923,0.15504405,0.5559848
69
- 2026-01-06 15:01:54.727429,1.686613310639946,0.07789854,0.5531802
70
- 2026-01-06 16:01:54.727429,1.525658524381726,0.4781655,0.6001895
71
- 2026-01-06 17:01:54.727429,1.4412393302781108,0.30239293,0.567589
72
- 2026-01-06 18:01:54.727429,1.8073369471160114,0.26760375,0.63115674
73
- 2026-01-06 19:01:54.727429,2.1410444425003994,0.17156205,0.3812512
74
- 2026-01-06 20:01:54.727429,2.3270097656175084,0.06666248,0.3799362
75
- 2026-01-06 21:01:54.727429,2.2791518943703832,0.14274047,0.47037053
76
- 2026-01-06 22:01:54.727429,2.3975225873413137,0.110759936,0.5450306
77
- 2026-01-06 23:01:54.727429,2.0583160898737196,0.2285912,0.5322193
78
- 2026-01-07 00:01:54.727429,1.8993414147933159,0.3223666,0.6924282
79
- 2026-01-07 01:01:54.727429,2.7353588321911237,0.12314,0.63635796
80
- 2026-01-07 02:01:54.727429,1.8295605676043192,0.18553865,0.6346859
81
- 2026-01-07 03:01:54.727429,2.373725703727483,0.18109453,0.47249058
82
- 2026-01-07 04:01:54.727429,2.2125934549036064,0.18957841,0.5933333
83
- 2026-01-07 05:01:54.727429,1.6275337218427646,0.19753928,0.6206834
84
- 2026-01-07 06:01:54.727429,2.571210915746978,0.37732723,0.691987
85
- 2026-01-07 07:01:54.727429,1.9777638736448653,0.21356314,0.50343233
86
- 2026-01-07 08:01:54.727429,1.6689864989505512,0.22674775,0.5603231
87
- 2026-01-07 09:01:54.727429,1.4686587626395384,0.40627447,0.80707425
88
- 2026-01-07 10:01:54.727429,1.6496005688907112,0.19011727,0.49248976
89
- 2026-01-07 11:01:54.727429,1.5353275589417898,0.16827798,0.68503577
90
- 2026-01-07 12:01:54.727429,1.0349148520966711,0.313596,0.63489616
91
- 2026-01-07 13:01:54.727429,1.540586796955826,0.25008103,0.5469458
92
- 2026-01-07 14:01:54.727429,1.2396146758615163,0.14970195,0.44669417
93
- 2026-01-07 15:01:54.727429,1.8657569765778201,0.34681576,0.6937517
94
- 2026-01-07 16:01:54.727429,1.5672335877889485,0.06490973,0.41416332
95
- 2026-01-07 17:01:54.727429,1.4719833693618907,0.27351248,0.44725665
96
- 2026-01-07 18:01:54.727429,1.79246228539333,0.1400989,0.5096217
97
- 2026-01-07 19:01:54.727429,2.1830172171242586,0.15826994,0.4501334
98
- 2026-01-07 20:01:54.727429,2.098095535501327,0.05960976,0.29454586
99
- 2026-01-07 21:01:54.727429,2.445241983102105,0.2768911,0.55919695
100
- 2026-01-07 22:01:54.727429,2.716616790450835,0.14492694,0.38555574
101
- 2026-01-07 23:01:54.727429,3.0707796185490355,0.23570117,0.36952013
102
- 2026-01-08 00:01:54.727429,2.0240262550536148,0.17833026,0.46873122
103
- 2026-01-08 01:01:54.727429,2.464862163386487,0.18423326,0.52338576
104
- 2026-01-08 02:01:54.727429,2.009047959766596,0.34849435,0.7479271
105
- 2026-01-08 03:01:54.727429,1.8610506648272214,0.27348232,0.66018873
106
- 2026-01-08 04:01:54.727429,2.3116386496339243,0.1565734,0.44284886
107
- 2026-01-08 05:01:54.727429,1.6653951281900568,0.10866022,0.6003912
108
- 2026-01-08 06:01:54.727429,1.3487434265330331,0.18943237,0.395545
109
- 2026-01-08 07:01:54.727429,1.7017454294021432,0.1935098,0.5311139
110
- 2026-01-08 08:01:54.727429,1.581418797407815,0.38916627,0.61442274
111
- 2026-01-08 09:01:54.727429,1.757218674933768,0.17364596,0.4410534
112
- 2026-01-08 10:01:54.727429,1.5359203389498681,0.4009786,0.64561623
113
- 2026-01-08 11:01:54.727429,1.612945490401124,0.17937426,0.56569976
114
- 2026-01-08 12:01:54.727429,1.1758222149847153,0.3274179,0.59796876
115
- 2026-01-08 13:01:54.727429,1.0446893013168204,0.2594712,0.43593118
116
- 2026-01-08 14:01:54.727429,1.597857108894329,0.35549852,0.53912693
117
- 2026-01-08 15:01:54.727429,1.3147071280891451,0.3132036,0.64749694
118
- 2026-01-08 16:01:54.727429,1.4205665958278353,0.05122196,0.42956665
119
- 2026-01-08 17:01:54.727429,1.590267416172369,0.14391683,0.38352945
120
- 2026-01-08 18:01:54.727429,2.358246438885608,0.26939628,0.7059753
121
- 2026-01-08 19:01:54.727429,2.1148017482994645,0.38490218,0.4107353
122
- 2026-01-08 20:01:54.727429,2.0954234644397127,0.2814053,0.31131676
123
- 2026-01-08 21:01:54.727429,2.2020474401367665,0.11997571,0.34023017
124
- 2026-01-08 22:01:54.727429,2.5382316721389975,0.094407566,0.29745084
125
- 2026-01-08 23:01:54.727429,2.3484285239064784,0.22078967,0.47658226
126
- 2026-01-09 00:01:54.727429,3.079864953712272,0.24983129,0.59186924
127
- 2026-01-09 01:01:54.727429,3.3359066592829323,0.19250928,0.59277344
128
- 2026-01-09 02:01:54.727429,2.6176523946042196,0.25121158,0.419
129
- 2026-01-09 03:01:54.727429,2.6115412873174013,0.18560337,0.49861482
130
- 2026-01-09 04:01:54.727429,2.040469049641772,0.22014163,0.71931326
131
- 2026-01-09 05:01:54.727429,2.7524989663311583,0.18380427,0.54790366
132
- 2026-01-09 06:01:54.727429,1.9989650251056605,0.35693195,0.6845059
133
- 2026-01-09 07:01:54.727429,2.280739910671558,0.35619673,0.5693045
134
- 2026-01-09 08:01:54.727429,1.7369552320309045,0.25173622,0.49878094
135
- 2026-01-09 09:01:54.727429,1.5879393038282479,0.21574353,0.42079648
136
- 2026-01-09 10:01:54.727429,1.4136641450609244,0.21871199,0.5954199
137
- 2026-01-09 11:01:54.727429,1.7901943336277304,0.17555116,0.74502766
138
- 2026-01-09 12:01:54.727429,2.1196143241744925,0.23232292,0.5733595
139
- 2026-01-09 13:01:54.727429,1.6328207330283195,0.4384701,0.7293182
140
- 2026-01-09 14:01:54.727429,1.268005897912223,0.30837196,0.6392995
141
- 2026-01-09 15:01:54.727429,1.7593970442594768,0.04715009,0.3382205
142
- 2026-01-09 16:01:54.727429,2.12381744716691,0.36178,0.42643616
143
- 2026-01-09 17:01:54.727429,2.234634296448626,0.08407404,0.21360521
144
- 2026-01-09 18:01:54.727429,2.230042714085804,0.20041391,0.31303167
145
- 2026-01-09 19:01:54.727429,1.944915719994781,0.24802458,0.30575722
146
- 2026-01-09 20:01:54.727429,2.727317197375141,0.17698325,0.24297704
147
- 2026-01-09 21:01:54.727429,2.2381607054349573,0.21009262,0.24733682
148
- 2026-01-09 22:01:54.727429,2.0054735833620048,0.25150365,0.46326378
149
- 2026-01-09 23:01:54.727429,2.97037328959197,0.21483055,0.4989745
150
- 2026-01-10 00:01:54.727429,3.191411003155196,0.32573444,0.6627097
151
- 2026-01-10 01:01:54.727429,3.355415108605237,0.11555598,0.64090025
152
- 2026-01-10 02:01:54.727429,2.911915930964671,0.28419262,0.60283655
153
- 2026-01-10 03:01:54.727429,2.918309170044673,0.13638894,0.5607379
154
- 2026-01-10 04:01:54.727429,2.7091077815609825,0.43866885,0.73342603
155
- 2026-01-10 05:01:54.727429,2.376860919799686,0.16090445,0.4462129
156
- 2026-01-10 06:01:54.727429,2.1020179473027962,0.26162118,0.64025635
157
- 2026-01-10 07:01:54.727429,1.8971072649262137,0.21499553,0.36915487
158
- 2026-01-10 08:01:54.727429,1.983542251556649,0.41403922,0.8337895
159
- 2026-01-10 09:01:54.727429,1.3023858602300702,0.3499109,0.5653023
160
- 2026-01-10 10:01:54.727429,1.6155510580922805,0.44100627,0.76911986
161
- 2026-01-10 11:01:54.727429,1.768992410051923,0.3450317,0.6884747
162
- 2026-01-10 12:01:54.727429,1.4651093082237192,0.29124105,0.6170893
163
- 2026-01-10 13:01:54.727429,1.4321016129975437,0.24551594,0.69959265
164
- 2026-01-10 14:01:54.727429,1.4199067330335247,0.09216671,0.40066764
165
- 2026-01-10 15:01:54.727429,2.0144785402133154,0.22371396,0.35563576
166
- 2026-01-10 16:01:54.727429,1.7485146227824064,0.29397652,0.5917905
167
- 2026-01-10 17:01:54.727429,1.8662356293674147,0.07876502,0.15862875
168
- 2026-01-10 18:01:54.727429,2.5202073265652496,0.070097655,0.23816146
169
- 2026-01-10 19:01:54.727429,3.133727092516183,0.12781909,0.20594038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
report_14_Days.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "period": "Next 14 Days",
3
- "generated_at": "2026-01-03T22:40:54.083937",
4
- "hours": 336,
5
- "load_classification": "\ud83d\udfe1 MEDIUM LOAD",
6
- "load_score": 7,
7
- "metrics": {
8
- "total_admissions": 679,
9
- "peak_admissions": 3.683536594404074,
10
- "avg_admissions": 2.023234295466582,
11
- "peak_icu": 0.5493876934051514,
12
- "avg_icu": 0.24997593462467194,
13
- "peak_staff": 5,
14
- "status": "ELEVATED"
15
- },
16
- "recommendation": "\u26a1 Moderate patient volume. Increase staff by 20-30%. Monitor ICU capacity."
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
report_24_Hours.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "period": "Next 24 Hours",
3
- "generated_at": "2026-01-03T22:40:47.842561",
4
- "hours": 24,
5
- "load_classification": "\ud83d\udfe1 MEDIUM LOAD",
6
- "load_score": 7,
7
- "metrics": {
8
- "total_admissions": 52,
9
- "peak_admissions": 3.0746363657643005,
10
- "avg_admissions": 2.1919732557645535,
11
- "peak_icu": 0.5128772258758545,
12
- "avg_icu": 0.28454628586769104,
13
- "peak_staff": 5,
14
- "status": "NORMAL"
15
- },
16
- "recommendation": "\u26a1 Moderate patient volume. Increase staff by 20-30%. Monitor ICU capacity."
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
report_48_Hours.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "period": "Next 48 Hours",
3
- "generated_at": "2026-01-03T22:40:51.011855",
4
- "hours": 48,
5
- "load_classification": "\ud83d\udfe1 MEDIUM LOAD",
6
- "load_score": 7,
7
- "metrics": {
8
- "total_admissions": 99,
9
- "peak_admissions": 3.3027513001855757,
10
- "avg_admissions": 2.0672792950627215,
11
- "peak_icu": 0.511515736579895,
12
- "avg_icu": 0.25839102268218994,
13
- "peak_staff": 5,
14
- "status": "NORMAL"
15
- },
16
- "recommendation": "\u26a1 Moderate patient volume. Increase staff by 20-30%. Monitor ICU capacity."
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
report_7_Days.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "period": "Next 7 Days",
3
- "generated_at": "2026-01-03T22:41:05.340443",
4
- "hours": 168,
5
- "load_classification": "\ud83d\udfe1 MEDIUM LOAD",
6
- "load_score": 7,
7
- "metrics": {
8
- "total_admissions": 336,
9
- "peak_admissions": 3.7275007384003755,
10
- "avg_admissions": 2.002340952862506,
11
- "peak_icu": 0.47816550731658936,
12
- "avg_icu": 0.24196511507034302,
13
- "peak_staff": 5,
14
- "status": "ELEVATED"
15
- },
16
- "recommendation": "\u26a1 Moderate patient volume. Increase staff by 20-30%. Monitor ICU capacity."
17
- }