Spaces:
No application file
No application file
FrederikKl
commited on
Commit
•
75a63c6
1
Parent(s):
f03f71f
Update training_pipeline.py
Browse files
notebooks/SML/training_pipeline.py
CHANGED
@@ -120,13 +120,13 @@ X_test.drop('ticker', axis=1, inplace=True)
|
|
120 |
scaler = MinMaxScaler()
|
121 |
|
122 |
# Fitting and transforming the 'open' column
|
123 |
-
y_train['open_scaled'] = scaler.fit_transform(y_train[['open']])
|
124 |
-
y_train.drop('open', axis=1, inplace=True)
|
125 |
|
126 |
# %%
|
127 |
#Doing the same to y_test as done to y_train
|
128 |
-
y_test['open_scaled'] = scaler.fit_transform(y_test[['open']])
|
129 |
-
y_test.drop('open', axis=1, inplace=True)
|
130 |
|
131 |
# %%
|
132 |
#Defining the function for the LSTM model
|
|
|
120 |
scaler = MinMaxScaler()
|
121 |
|
122 |
# Fitting and transforming the 'open' column
|
123 |
+
#y_train['open_scaled'] = scaler.fit_transform(y_train[['open']])
|
124 |
+
#y_train.drop('open', axis=1, inplace=True)
|
125 |
|
126 |
# %%
|
127 |
#Doing the same to y_test as done to y_train
|
128 |
+
#y_test['open_scaled'] = scaler.fit_transform(y_test[['open']])
|
129 |
+
#y_test.drop('open', axis=1, inplace=True)
|
130 |
|
131 |
# %%
|
132 |
#Defining the function for the LSTM model
|