Skip to content

Instantly share code, notes, and snippets.

@SajidLhessani
Created October 8, 2021 03:22
Show Gist options
  • Save SajidLhessani/f5c4eae820bf7b5a5ac9ecab6742a674 to your computer and use it in GitHub Desktop.
Save SajidLhessani/f5c4eae820bf7b5a5ac9ecab6742a674 to your computer and use it in GitHub Desktop.
# Pass the test data to the predict function and store the values into 'y_predict'
y_predict = cls.predict(ss1.transform(X.iloc[split:]))
# Initiate a column by name, 'Pred_Signal' and assign 0 to it
df['Pred_Signal'] = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment