krasin commited on
Commit ·
a859959
1
Parent(s): e6f7ce5
Add missing constants train_mean, train_std
Browse files
app.py
CHANGED
|
@@ -5,6 +5,10 @@ import pandas as pd
|
|
| 5 |
|
| 6 |
learn_fc = load_learner('fc_model.pkl')
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
class MyDataset:
|
| 9 |
"""Great for big datasets and long sequencies"""
|
| 10 |
def __init__(self, df, features, target, look_back=1, prediction_horizon=1):
|
|
|
|
| 5 |
|
| 6 |
learn_fc = load_learner('fc_model.pkl')
|
| 7 |
|
| 8 |
+
train_mean = 0
|
| 9 |
+
train_std = pd.Series(data=[1.550274e+01, 1.574251e+01, 1.526607e+01, 1.550392e+01, 1.066174e+01, 1.960896e+06 ],
|
| 10 |
+
index=['Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume' ])
|
| 11 |
+
|
| 12 |
class MyDataset:
|
| 13 |
"""Great for big datasets and long sequencies"""
|
| 14 |
def __init__(self, df, features, target, look_back=1, prediction_horizon=1):
|