krasin commited on
Commit ·
2be5d69
1
Parent(s): a859959
Add missing constants
Browse files
app.py
CHANGED
|
@@ -9,6 +9,11 @@ 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):
|
|
|
|
| 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 |
+
prediction_horizon = 32
|
| 13 |
+
look_back = 64
|
| 14 |
+
feature_selected = ['Open', 'Volume']
|
| 15 |
+
label_selected = 'Open'
|
| 16 |
+
|
| 17 |
class MyDataset:
|
| 18 |
"""Great for big datasets and long sequencies"""
|
| 19 |
def __init__(self, df, features, target, look_back=1, prediction_horizon=1):
|