Spaces:
Runtime error
Runtime error
zhang qiao
commited on
Commit
•
2086f52
1
Parent(s):
84b70de
Upload folder using huggingface_hub
Browse files- best_models.csv +7 -7
- deploy_gradio_demo.sh +2 -0
- forecast_result.csv +6 -0
- gr_app/GradioApp.py +3 -3
- gr_app/__pycache__/GradioApp.cpython-310.pyc +0 -0
- src/idsc/config.yml +2 -2
best_models.csv
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
sku,best_model,characteristic
|
2 |
-
Item_A
|
3 |
-
Item_B
|
4 |
-
Item_C
|
5 |
-
Item_D
|
6 |
-
Item_E
|
7 |
-
Item_F
|
|
|
1 |
+
sku,best_model,characteristic
|
2 |
+
Item_A,prophet,continuous
|
3 |
+
Item_B,prophet,continuous
|
4 |
+
Item_C,fft_i,continuous
|
5 |
+
Item_D,fft_i,continuous
|
6 |
+
Item_E,prophet,continuous
|
7 |
+
Item_F,ceif,fuzzy
|
deploy_gradio_demo.sh
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
rm .env
|
2 |
+
gradio deploy
|
forecast_result.csv
CHANGED
@@ -1,13 +1,19 @@
|
|
1 |
datetime,y,sku
|
2 |
2022-12-01,1261.881563271306,Item_A
|
3 |
2023-01-01,1238.1241261473267,Item_A
|
|
|
4 |
2022-12-01,67.98226881358575,Item_B
|
5 |
2023-01-01,54.089203200916906,Item_B
|
|
|
6 |
2023-01-01,189.0,Item_C
|
7 |
2023-02-01,89.0,Item_C
|
|
|
8 |
2022-12-01,574.0,Item_D
|
9 |
2023-01-01,590.0,Item_D
|
|
|
10 |
2022-12-01,562.7574409930887,Item_E
|
11 |
2023-01-01,392.3652129393938,Item_E
|
|
|
12 |
2022-12-04,0.0,Item_F
|
13 |
2022-12-11,0.0,Item_F
|
|
|
|
1 |
datetime,y,sku
|
2 |
2022-12-01,1261.881563271306,Item_A
|
3 |
2023-01-01,1238.1241261473267,Item_A
|
4 |
+
2023-02-01,1434.041620665959,Item_A
|
5 |
2022-12-01,67.98226881358575,Item_B
|
6 |
2023-01-01,54.089203200916906,Item_B
|
7 |
+
2023-02-01,75.93797178898981,Item_B
|
8 |
2023-01-01,189.0,Item_C
|
9 |
2023-02-01,89.0,Item_C
|
10 |
+
2023-03-01,142.0,Item_C
|
11 |
2022-12-01,574.0,Item_D
|
12 |
2023-01-01,590.0,Item_D
|
13 |
+
2023-02-01,602.0,Item_D
|
14 |
2022-12-01,562.7574409930887,Item_E
|
15 |
2023-01-01,392.3652129393938,Item_E
|
16 |
+
2023-02-01,435.82621109166826,Item_E
|
17 |
2022-12-04,0.0,Item_F
|
18 |
2022-12-11,0.0,Item_F
|
19 |
+
2022-12-18,46.0,Item_F
|
gr_app/GradioApp.py
CHANGED
@@ -31,7 +31,7 @@ class GradioApp():
|
|
31 |
'sku': self.skus,
|
32 |
'best_model': '',
|
33 |
'characteristic': '',
|
34 |
-
'predictability': '',
|
35 |
'RMSE': '',
|
36 |
'Intermittent Scores':''
|
37 |
}
|
@@ -129,8 +129,8 @@ class GradioApp():
|
|
129 |
self.model_data.loc[self.model_data['sku'] ==
|
130 |
sku, 'best_model'] = res['forecast'][0]['model']
|
131 |
|
132 |
-
self.model_data.loc[self.model_data['sku'] ==
|
133 |
-
|
134 |
|
135 |
self.model_data.loc[self.model_data['sku'] ==
|
136 |
sku, 'RMSE'] = round(res['forecast'][0]['RMSE'], 2)
|
|
|
31 |
'sku': self.skus,
|
32 |
'best_model': '',
|
33 |
'characteristic': '',
|
34 |
+
# 'predictability': '',
|
35 |
'RMSE': '',
|
36 |
'Intermittent Scores':''
|
37 |
}
|
|
|
129 |
self.model_data.loc[self.model_data['sku'] ==
|
130 |
sku, 'best_model'] = res['forecast'][0]['model']
|
131 |
|
132 |
+
# self.model_data.loc[self.model_data['sku'] ==
|
133 |
+
# sku, 'predictability'] = res['predictability']
|
134 |
|
135 |
self.model_data.loc[self.model_data['sku'] ==
|
136 |
sku, 'RMSE'] = round(res['forecast'][0]['RMSE'], 2)
|
gr_app/__pycache__/GradioApp.cpython-310.pyc
CHANGED
Binary files a/gr_app/__pycache__/GradioApp.cpython-310.pyc and b/gr_app/__pycache__/GradioApp.cpython-310.pyc differ
|
|
src/idsc/config.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
apikey:
|
2 |
-
apikey_expire: 12/
|
|
|
1 |
+
apikey: 7a036d8d8eb8ac9f860ab7747c363850e3fa477b
|
2 |
+
apikey_expire: 12/28/2023, 20:23:22
|