Spaces:
Sleeping
Sleeping
Commit
•
9c4dbd0
1
Parent(s):
99d89a5
Update app.py
Browse files
app.py
CHANGED
@@ -11,4 +11,16 @@ import streamlit as st
|
|
11 |
import joblib
|
12 |
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
import joblib
|
12 |
|
13 |
|
14 |
+
fitted_model = joblib.load('modelling_all.sav')
|
15 |
+
predict=fitted_model.get_prediction(start=1401,end=1430, dynamic=True)
|
16 |
+
|
17 |
+
predictions=predict.predicted_mean
|
18 |
+
predictions['Harga Bawang']=predictions['Harga Bawang'].round()
|
19 |
+
predictions.columns=['Prediction Harga Bawang',
|
20 |
+
'Prediction T2M',
|
21 |
+
'Prediction RH2M',
|
22 |
+
'Prediction WS10M_RANGE',
|
23 |
+
'Prediction PRECTOTCORR']
|
24 |
+
predictions=predictions.abs()
|
25 |
+
|
26 |
+
predictions
|