Created
October 8, 2021 03:25
-
-
Save SajidLhessani/b3a038e0b64cd4c220c23312c9d5d873 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save the predicted values for the train data | |
df.iloc[:split, df.columns.get_loc('Pred_Signal')] = pd.Series( | |
cls.predict(ss1.transform(X.iloc[:split])).tolist()) | |
# Save the predicted values for the test data | |
df.iloc[split:, df.columns.get_loc('Pred_Signal')] = y_predict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment