Sanket Kathrotiya commited on
Commit
f16ef42
·
1 Parent(s): bda7112
Files changed (4) hide show
  1. app.py +99 -0
  2. requirements.txt +5 -0
  3. unseen_data.csv +214 -0
  4. xgb_model.bin +3 -0
app.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import xgboost as xgb
2
+ import pandas as pd
3
+ import os
4
+ from datetime import datetime
5
+ from pandas.tseries.holiday import USFederalHolidayCalendar as calendar
6
+ import streamlit as st
7
+
8
+ # Load your trained XGBoost model from a .bin file
9
+ model = xgb.Booster()
10
+ model.load_model(os.path.join(os.path.dirname(__file__), "xgb_model.bin"))
11
+
12
+ # Load the unseen data from a CSV file
13
+ df = pd.read_csv(os.path.join(os.path.dirname(__file__), "unseen_data.csv"))
14
+
15
+ # Define the expected columns for prediction
16
+ expected_columns = ['temperature', 'year', 'month', 'day', 'hr', 'day_of_week', 'is_weekend', 'holiday']
17
+
18
+ def get_random_data():
19
+ # Select 5 random rows from the unseen data
20
+ random_data = df.sample(5).copy()
21
+ return random_data
22
+
23
+ def predict_demand(input_df):
24
+ # Prepare data for prediction
25
+ prediction_data = input_df[expected_columns]
26
+ dmatrix = xgb.DMatrix(prediction_data)
27
+ predictions = model.predict(dmatrix)
28
+ # Add predictions to the dataframe
29
+ input_df['predicted_demand'] = predictions.round(0).astype(int)
30
+ return input_df
31
+
32
+ def format_random_output(prediction_df):
33
+ # Calculate percentage error
34
+ prediction_df['error_percentage'] = ((prediction_df['predicted_demand'] - prediction_df['demand']) / prediction_df['demand'] * 100).round(2)
35
+
36
+ # Format date and time
37
+ prediction_df['datetime'] = pd.to_datetime(prediction_df['date'] + ' ' + prediction_df['hr'].astype(str) + ':00:00')
38
+
39
+ # Select and rename columns
40
+ output_df = prediction_df[['datetime', 'temperature', 'predicted_demand', 'demand', 'error_percentage']]
41
+ output_df.columns = ['Date and Time', 'Temperature (°C)', 'Predicted Demand (MW)', 'Actual Demand (MW)', 'Error (%)']
42
+
43
+ return output_df
44
+
45
+ def custom_predict(date_time, temperature):
46
+ # Parse date and time
47
+ dt = pd.to_datetime(date_time)
48
+
49
+ # Calculate additional parameters
50
+ is_weekend = dt.dayofweek >= 5
51
+ holidays = calendar().holidays(start=dt.floor('D'), end=dt.ceil('D'))
52
+ is_holiday = dt.floor('D') in holidays
53
+
54
+ # Create custom data
55
+ custom_data = pd.DataFrame([[
56
+ temperature,
57
+ dt.year,
58
+ dt.month,
59
+ dt.day,
60
+ dt.hour,
61
+ dt.dayofweek,
62
+ int(is_weekend),
63
+ int(is_holiday)
64
+ ]], columns=expected_columns)
65
+
66
+ # Predict
67
+ prediction_df = predict_demand(custom_data)
68
+
69
+ # Format output
70
+ output_df = pd.DataFrame({
71
+ 'Date and Time': [dt],
72
+ 'Temperature (°C)': [temperature],
73
+ 'Predicted Demand (MW)': prediction_df['predicted_demand']
74
+ })
75
+
76
+ return output_df
77
+
78
+ # Streamlit app
79
+ st.title("Electricity Demand Prediction")
80
+ st.markdown("Predict electricity demand based on various factors.")
81
+
82
+ tab1, tab2 = st.tabs(["Random Predictions", "Custom Prediction"])
83
+
84
+ with tab1:
85
+ st.header("Random Predictions")
86
+ if st.button("Predict for 5 Random Data Points"):
87
+ random_data = get_random_data()
88
+ prediction_df = predict_demand(random_data)
89
+ formatted_output = format_random_output(prediction_df)
90
+ st.dataframe(formatted_output)
91
+
92
+ with tab2:
93
+ st.header("Custom Prediction")
94
+ date_time = st.datetime_input("Date and Time", value=datetime.now())
95
+ temperature = st.slider("Temperature (°C)", 0, 40)
96
+
97
+ if st.button("Predict for Custom Input"):
98
+ custom_output = custom_predict(date_time, temperature)
99
+ st.dataframe(custom_output)
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ numpy==1.26.4
2
+ pandas==2.2.2
3
+ xgboost==2.1.1
4
+ gradio
5
+
unseen_data.csv ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ date,temperature,demand,year,month,day,hr,day_of_week,is_weekend,holiday
2
+ 2024-08-09 04:00:00,21.8725,17547,2024,8,9,4,4,False,0
3
+ 2024-08-09 05:00:00,22.672499,16780,2024,8,9,5,4,False,0
4
+ 2024-08-09 06:00:00,22.922499,16305,2024,8,9,6,4,False,0
5
+ 2024-08-09 07:00:00,23.3725,16058,2024,8,9,7,4,False,0
6
+ 2024-08-09 08:00:00,22.9725,16021,2024,8,9,8,4,False,0
7
+ 2024-08-09 09:00:00,22.072498,16326,2024,8,9,9,4,False,0
8
+ 2024-08-09 10:00:00,22.2725,17090,2024,8,9,10,4,False,0
9
+ 2024-08-09 11:00:00,22.672499,18303,2024,8,9,11,4,False,0
10
+ 2024-08-09 12:00:00,22.322498,19654,2024,8,9,12,4,False,0
11
+ 2024-08-09 13:00:00,24.6225,20857,2024,8,9,13,4,False,0
12
+ 2024-08-09 14:00:00,24.7725,21764,2024,8,9,14,4,False,0
13
+ 2024-08-09 15:00:00,27.322498,22552,2024,8,9,15,4,False,0
14
+ 2024-08-09 16:00:00,28.172499,23078,2024,8,9,16,4,False,0
15
+ 2024-08-09 17:00:00,27.8725,23485,2024,8,9,17,4,False,0
16
+ 2024-08-09 18:00:00,28.322498,23851,2024,8,9,18,4,False,0
17
+ 2024-08-09 19:00:00,27.9725,23882,2024,8,9,19,4,False,0
18
+ 2024-08-09 20:00:00,26.9725,23843,2024,8,9,20,4,False,0
19
+ 2024-08-09 21:00:00,24.5225,23954,2024,8,9,21,4,False,0
20
+ 2024-08-09 22:00:00,24.822498,23879,2024,8,9,22,4,False,0
21
+ 2024-08-09 23:00:00,24.8725,23487,2024,8,9,23,4,False,0
22
+ 2024-08-10 00:00:00,24.5225,23025,2024,8,10,0,5,True,0
23
+ 2024-08-10 01:00:00,24.572498,22558,2024,8,10,1,5,True,0
24
+ 2024-08-10 02:00:00,24.1225,21803,2024,8,10,2,5,True,0
25
+ 2024-08-10 03:00:00,23.8725,20754,2024,8,10,3,5,True,0
26
+ 2024-08-10 04:00:00,23.4725,19644,2024,8,10,4,5,True,0
27
+ 2024-08-10 05:00:00,23.2225,18580,2024,8,10,5,5,True,0
28
+ 2024-08-10 06:00:00,23.2225,17838,2024,8,10,6,5,True,0
29
+ 2024-08-10 07:00:00,22.9725,17283,2024,8,10,7,5,True,0
30
+ 2024-08-10 08:00:00,22.922499,16742,2024,8,10,8,5,True,0
31
+ 2024-08-10 09:00:00,22.2225,16449,2024,8,10,9,5,True,0
32
+ 2024-08-10 10:00:00,21.572498,16386,2024,8,10,10,5,True,0
33
+ 2024-08-10 11:00:00,21.6225,16459,2024,8,10,11,5,True,0
34
+ 2024-08-10 12:00:00,22.422499,16893,2024,8,10,12,5,True,0
35
+ 2024-08-10 13:00:00,24.172499,17373,2024,8,10,13,5,True,0
36
+ 2024-08-10 14:00:00,25.672499,17927,2024,8,10,14,5,True,0
37
+ 2024-08-10 15:00:00,27.072498,18575,2024,8,10,15,5,True,0
38
+ 2024-08-10 16:00:00,27.7225,19221,2024,8,10,16,5,True,0
39
+ 2024-08-10 17:00:00,28.072498,19752,2024,8,10,17,5,True,0
40
+ 2024-08-10 18:00:00,28.922499,20121,2024,8,10,18,5,True,0
41
+ 2024-08-10 19:00:00,29.172499,20606,2024,8,10,19,5,True,0
42
+ 2024-08-10 20:00:00,29.322498,21046,2024,8,10,20,5,True,0
43
+ 2024-08-10 21:00:00,29.0225,21635,2024,8,10,21,5,True,0
44
+ 2024-08-10 22:00:00,28.2725,22130,2024,8,10,22,5,True,0
45
+ 2024-08-10 23:00:00,26.7725,22223,2024,8,10,23,5,True,0
46
+ 2024-08-11 00:00:00,24.322498,21806,2024,8,11,0,6,True,0
47
+ 2024-08-11 01:00:00,23.922499,21371,2024,8,11,1,6,True,0
48
+ 2024-08-11 02:00:00,23.3725,20696,2024,8,11,2,6,True,0
49
+ 2024-08-11 03:00:00,22.572498,19659,2024,8,11,3,6,True,0
50
+ 2024-08-11 04:00:00,21.3725,18529,2024,8,11,4,6,True,0
51
+ 2024-08-11 05:00:00,20.572498,17363,2024,8,11,5,6,True,0
52
+ 2024-08-11 06:00:00,20.1225,16459,2024,8,11,6,6,True,0
53
+ 2024-08-11 07:00:00,20.1225,15772,2024,8,11,7,6,True,0
54
+ 2024-08-11 08:00:00,20.0225,15324,2024,8,11,8,6,True,0
55
+ 2024-08-11 09:00:00,19.3725,15076,2024,8,11,9,6,True,0
56
+ 2024-08-11 10:00:00,18.8725,15057,2024,8,11,10,6,True,0
57
+ 2024-08-11 11:00:00,18.922499,15034,2024,8,11,11,6,True,0
58
+ 2024-08-11 12:00:00,20.2225,15207,2024,8,11,12,6,True,0
59
+ 2024-08-11 13:00:00,22.422499,15668,2024,8,11,13,6,True,0
60
+ 2024-08-11 14:00:00,23.8725,16107,2024,8,11,14,6,True,0
61
+ 2024-08-11 15:00:00,24.822498,16592,2024,8,11,15,6,True,0
62
+ 2024-08-11 16:00:00,25.7725,17300,2024,8,11,16,6,True,0
63
+ 2024-08-11 17:00:00,26.2725,17994,2024,8,11,17,6,True,0
64
+ 2024-08-11 18:00:00,26.5225,18214,2024,8,11,18,6,True,0
65
+ 2024-08-11 19:00:00,27.322498,18483,2024,8,11,19,6,True,0
66
+ 2024-08-11 20:00:00,27.2725,19076,2024,8,11,20,6,True,0
67
+ 2024-08-11 21:00:00,26.9725,19978,2024,8,11,21,6,True,0
68
+ 2024-08-11 22:00:00,26.5225,20684,2024,8,11,22,6,True,0
69
+ 2024-08-11 23:00:00,25.072498,20630,2024,8,11,23,6,True,0
70
+ 2024-08-12 00:00:00,23.5225,20314,2024,8,12,0,0,False,0
71
+ 2024-08-12 01:00:00,21.8725,20069,2024,8,12,1,0,False,0
72
+ 2024-08-12 02:00:00,21.822498,19537,2024,8,12,2,0,False,0
73
+ 2024-08-12 03:00:00,20.672499,18515,2024,8,12,3,0,False,0
74
+ 2024-08-12 04:00:00,20.172499,17357,2024,8,12,4,0,False,0
75
+ 2024-08-12 05:00:00,19.2725,16417,2024,8,12,5,0,False,0
76
+ 2024-08-12 06:00:00,17.7225,15656,2024,8,12,6,0,False,0
77
+ 2024-08-12 07:00:00,17.5225,15093,2024,8,12,7,0,False,0
78
+ 2024-08-12 08:00:00,16.672499,14812,2024,8,12,8,0,False,0
79
+ 2024-08-12 09:00:00,16.2225,14839,2024,8,12,9,0,False,0
80
+ 2024-08-12 10:00:00,16.5225,15338,2024,8,12,10,0,False,0
81
+ 2024-08-12 11:00:00,17.7725,16186,2024,8,12,11,0,False,0
82
+ 2024-08-12 12:00:00,19.8725,17135,2024,8,12,12,0,False,0
83
+ 2024-08-12 13:00:00,22.3725,17733,2024,8,12,13,0,False,0
84
+ 2024-08-12 14:00:00,23.822498,18174,2024,8,12,14,0,False,0
85
+ 2024-08-12 15:00:00,24.7725,18583,2024,8,12,15,0,False,0
86
+ 2024-08-12 16:00:00,25.2725,19015,2024,8,12,16,0,False,0
87
+ 2024-08-12 17:00:00,25.572498,19593,2024,8,12,17,0,False,0
88
+ 2024-08-12 18:00:00,25.922499,20070,2024,8,12,18,0,False,0
89
+ 2024-08-12 19:00:00,26.172499,20446,2024,8,12,19,0,False,0
90
+ 2024-08-12 20:00:00,25.7225,20497,2024,8,12,20,0,False,0
91
+ 2024-08-12 21:00:00,25.9725,20414,2024,8,12,21,0,False,0
92
+ 2024-08-12 22:00:00,25.7725,20636,2024,8,12,22,0,False,0
93
+ 2024-08-12 23:00:00,24.572498,20737,2024,8,12,23,0,False,0
94
+ 2024-08-13 00:00:00,22.672499,20476,2024,8,13,0,1,False,0
95
+ 2024-08-13 01:00:00,20.9725,20054,2024,8,13,1,1,False,0
96
+ 2024-08-13 02:00:00,20.172499,19343,2024,8,13,2,1,False,0
97
+ 2024-08-13 03:00:00,18.9725,18109,2024,8,13,3,1,False,0
98
+ 2024-08-13 04:00:00,18.172499,16913,2024,8,13,4,1,False,0
99
+ 2024-08-13 05:00:00,17.672499,15933,2024,8,13,5,1,False,0
100
+ 2024-08-13 06:00:00,17.2725,15252,2024,8,13,6,1,False,0
101
+ 2024-08-13 07:00:00,16.572498,14729,2024,8,13,7,1,False,0
102
+ 2024-08-13 08:00:00,16.2725,14456,2024,8,13,8,1,False,0
103
+ 2024-08-13 09:00:00,16.4725,14482,2024,8,13,9,1,False,0
104
+ 2024-08-13 10:00:00,16.322498,14999,2024,8,13,10,1,False,0
105
+ 2024-08-13 11:00:00,17.0225,15894,2024,8,13,11,1,False,0
106
+ 2024-08-13 12:00:00,18.922499,16746,2024,8,13,12,1,False,0
107
+ 2024-08-13 13:00:00,20.8725,17121,2024,8,13,13,1,False,0
108
+ 2024-08-13 14:00:00,22.5225,17280,2024,8,13,14,1,False,0
109
+ 2024-08-13 15:00:00,23.7725,17618,2024,8,13,15,1,False,0
110
+ 2024-08-13 16:00:00,25.0225,18119,2024,8,13,16,1,False,0
111
+ 2024-08-13 17:00:00,25.6225,18670,2024,8,13,17,1,False,0
112
+ 2024-08-13 18:00:00,26.322498,19264,2024,8,13,18,1,False,0
113
+ 2024-08-13 19:00:00,26.8725,19828,2024,8,13,19,1,False,0
114
+ 2024-08-13 20:00:00,26.822498,20496,2024,8,13,20,1,False,0
115
+ 2024-08-13 21:00:00,26.422499,21262,2024,8,13,21,1,False,0
116
+ 2024-08-13 22:00:00,26.422499,21942,2024,8,13,22,1,False,0
117
+ 2024-08-13 23:00:00,24.8725,22116,2024,8,13,23,1,False,0
118
+ 2024-08-14 00:00:00,21.7225,21684,2024,8,14,0,2,False,0
119
+ 2024-08-14 01:00:00,22.2725,21229,2024,8,14,1,2,False,0
120
+ 2024-08-14 02:00:00,20.072498,20403,2024,8,14,2,2,False,0
121
+ 2024-08-14 03:00:00,19.5225,19196,2024,8,14,3,2,False,0
122
+ 2024-08-14 04:00:00,18.7725,17925,2024,8,14,4,2,False,0
123
+ 2024-08-14 05:00:00,18.7225,16879,2024,8,14,5,2,False,0
124
+ 2024-08-14 06:00:00,18.4725,16087,2024,8,14,6,2,False,0
125
+ 2024-08-14 07:00:00,18.2225,15525,2024,8,14,7,2,False,0
126
+ 2024-08-14 08:00:00,17.9725,15183,2024,8,14,8,2,False,0
127
+ 2024-08-14 09:00:00,17.672499,15178,2024,8,14,9,2,False,0
128
+ 2024-08-14 10:00:00,17.422499,15690,2024,8,14,10,2,False,0
129
+ 2024-08-14 11:00:00,18.572498,16561,2024,8,14,11,2,False,0
130
+ 2024-08-14 12:00:00,20.4725,17480,2024,8,14,12,2,False,0
131
+ 2024-08-14 13:00:00,22.7725,18019,2024,8,14,13,2,False,0
132
+ 2024-08-14 14:00:00,24.8725,18375,2024,8,14,14,2,False,0
133
+ 2024-08-14 15:00:00,26.3725,18872,2024,8,14,15,2,False,0
134
+ 2024-08-14 16:00:00,26.922499,19571,2024,8,14,16,2,False,0
135
+ 2024-08-14 17:00:00,27.7725,20376,2024,8,14,17,2,False,0
136
+ 2024-08-14 18:00:00,28.072498,21190,2024,8,14,18,2,False,0
137
+ 2024-08-14 19:00:00,28.322498,22011,2024,8,14,19,2,False,0
138
+ 2024-08-14 20:00:00,28.1225,22643,2024,8,14,20,2,False,0
139
+ 2024-08-14 21:00:00,27.822498,23235,2024,8,14,21,2,False,0
140
+ 2024-08-14 22:00:00,27.1225,23665,2024,8,14,22,2,False,0
141
+ 2024-08-14 23:00:00,25.6225,23509,2024,8,14,23,2,False,0
142
+ 2024-08-15 00:00:00,23.322498,22939,2024,8,15,0,3,False,0
143
+ 2024-08-15 01:00:00,21.9725,22384,2024,8,15,1,3,False,0
144
+ 2024-08-15 02:00:00,20.9725,21474,2024,8,15,2,3,False,0
145
+ 2024-08-15 03:00:00,20.3725,20092,2024,8,15,3,3,False,0
146
+ 2024-08-15 04:00:00,19.8725,18686,2024,8,15,4,3,False,0
147
+ 2024-08-15 05:00:00,19.5225,17518,2024,8,15,5,3,False,0
148
+ 2024-08-15 06:00:00,19.0225,16663,2024,8,15,6,3,False,0
149
+ 2024-08-15 07:00:00,18.2225,16046,2024,8,15,7,3,False,0
150
+ 2024-08-15 08:00:00,17.3725,15631,2024,8,15,8,3,False,0
151
+ 2024-08-15 09:00:00,17.1225,15579,2024,8,15,9,3,False,0
152
+ 2024-08-15 10:00:00,17.0225,16065,2024,8,15,10,3,False,0
153
+ 2024-08-15 11:00:00,18.322498,16917,2024,8,15,11,3,False,0
154
+ 2024-08-15 12:00:00,20.6225,17836,2024,8,15,12,3,False,0
155
+ 2024-08-15 13:00:00,23.5225,18476,2024,8,15,13,3,False,0
156
+ 2024-08-15 14:00:00,25.672499,18926,2024,8,15,14,3,False,0
157
+ 2024-08-15 15:00:00,27.422499,19422,2024,8,15,15,3,False,0
158
+ 2024-08-15 16:00:00,28.6225,20162,2024,8,15,16,3,False,0
159
+ 2024-08-15 17:00:00,28.8725,20846,2024,8,15,17,3,False,0
160
+ 2024-08-15 18:00:00,29.4725,21780,2024,8,15,18,3,False,0
161
+ 2024-08-15 19:00:00,29.8725,22693,2024,8,15,19,3,False,0
162
+ 2024-08-15 20:00:00,30.1225,23391,2024,8,15,20,3,False,0
163
+ 2024-08-15 21:00:00,29.7725,24142,2024,8,15,21,3,False,0
164
+ 2024-08-15 22:00:00,29.1225,24620,2024,8,15,22,3,False,0
165
+ 2024-08-15 23:00:00,27.6225,24461,2024,8,15,23,3,False,0
166
+ 2024-08-16 00:00:00,25.3725,23903,2024,8,16,0,4,False,0
167
+ 2024-08-16 01:00:00,24.2725,23284,2024,8,16,1,4,False,0
168
+ 2024-08-16 02:00:00,22.8725,22278,2024,8,16,2,4,False,0
169
+ 2024-08-16 03:00:00,21.5225,20871,2024,8,16,3,4,False,0
170
+ 2024-08-16 04:00:00,20.4725,19475,2024,8,16,4,4,False,0
171
+ 2024-08-16 05:00:00,19.7225,18287,2024,8,16,5,4,False,0
172
+ 2024-08-16 06:00:00,19.422499,17370,2024,8,16,6,4,False,0
173
+ 2024-08-16 07:00:00,19.322498,16705,2024,8,16,7,4,False,0
174
+ 2024-08-16 08:00:00,19.0225,16293,2024,8,16,8,4,False,0
175
+ 2024-08-16 09:00:00,18.7225,16191,2024,8,16,9,4,False,0
176
+ 2024-08-16 10:00:00,18.2225,16587,2024,8,16,10,4,False,0
177
+ 2024-08-16 11:00:00,19.6225,17406,2024,8,16,11,4,False,0
178
+ 2024-08-16 12:00:00,21.822498,18336,2024,8,16,12,4,False,0
179
+ 2024-08-16 13:00:00,24.3725,19022,2024,8,16,13,4,False,0
180
+ 2024-08-16 14:00:00,26.5225,19551,2024,8,16,14,4,False,0
181
+ 2024-08-16 15:00:00,27.922499,20172,2024,8,16,15,4,False,0
182
+ 2024-08-16 16:00:00,28.7725,21016,2024,8,16,16,4,False,0
183
+ 2024-08-16 17:00:00,29.5225,21907,2024,8,16,17,4,False,0
184
+ 2024-08-16 18:00:00,30.0225,22759,2024,8,16,18,4,False,0
185
+ 2024-08-16 19:00:00,30.2225,23481,2024,8,16,19,4,False,0
186
+ 2024-08-16 20:00:00,30.0225,24160,2024,8,16,20,4,False,0
187
+ 2024-08-16 21:00:00,29.172499,24736,2024,8,16,21,4,False,0
188
+ 2024-08-16 22:00:00,26.6225,24926,2024,8,16,22,4,False,0
189
+ 2024-08-16 23:00:00,24.7225,24467,2024,8,16,23,4,False,0
190
+ 2024-08-17 00:00:00,23.3725,23678,2024,8,17,0,5,True,0
191
+ 2024-08-17 01:00:00,22.422499,23046,2024,8,17,1,5,True,0
192
+ 2024-08-17 02:00:00,22.172499,22119,2024,8,17,2,5,True,0
193
+ 2024-08-17 03:00:00,21.8725,20976,2024,8,17,3,5,True,0
194
+ 2024-08-17 04:00:00,21.422499,19765,2024,8,17,4,5,True,0
195
+ 2024-08-17 05:00:00,21.172499,18701,2024,8,17,5,5,True,0
196
+ 2024-08-17 06:00:00,21.0225,17896,2024,8,17,6,5,True,0
197
+ 2024-08-17 07:00:00,20.8725,17277,2024,8,17,7,5,True,0
198
+ 2024-08-17 08:00:00,20.6225,16883,2024,8,17,8,5,True,0
199
+ 2024-08-17 09:00:00,20.672499,16661,2024,8,17,9,5,True,0
200
+ 2024-08-17 10:00:00,21.0225,16728,2024,8,17,10,5,True,0
201
+ 2024-08-17 11:00:00,21.6225,17015,2024,8,17,11,5,True,0
202
+ 2024-08-17 12:00:00,23.1225,17568,2024,8,17,12,5,True,0
203
+ 2024-08-17 13:00:00,23.7725,18278,2024,8,17,13,5,True,0
204
+ 2024-08-17 14:00:00,25.322498,19001,2024,8,17,14,5,True,0
205
+ 2024-08-17 15:00:00,26.2725,19658,2024,8,17,15,5,True,0
206
+ 2024-08-17 16:00:00,25.922499,20185,2024,8,17,16,5,True,0
207
+ 2024-08-17 17:00:00,25.072498,20587,2024,8,17,17,5,True,0
208
+ 2024-08-17 18:00:00,25.0225,20932,2024,8,17,18,5,True,0
209
+ 2024-08-17 19:00:00,25.322498,21231,2024,8,17,19,5,True,0
210
+ 2024-08-17 20:00:00,26.072498,21469,2024,8,17,20,5,True,0
211
+ 2024-08-17 21:00:00,24.7225,21465,2024,8,17,21,5,True,0
212
+ 2024-08-17 22:00:00,24.172499,21222,2024,8,17,22,5,True,0
213
+ 2024-08-17 23:00:00,23.6225,20817,2024,8,17,23,5,True,0
214
+ 2024-08-18 00:00:00,23.2725,20513,2024,8,18,0,6,True,0
xgb_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:155a33eb4dfb9c381cfa1346cec279e248bae523f503091da4832e6898e06a4d
3
+ size 21724665