Skip to content

For test DF in stacking , use merged_df#35

Open
jonhilgart22 wants to merge 1 commit into
mainfrom
jh_fix_bug_with_stacking_predictions
Open

For test DF in stacking , use merged_df#35
jonhilgart22 wants to merge 1 commit into
mainfrom
jh_fix_bug_with_stacking_predictions

Conversation

@jonhilgart22

Copy link
Copy Markdown
Owner

Use the merged_df in the stacking predictions


# for training, we need to use the aligned date of the prediction FOR which is in merged_df
training_df = merged_df[merged_df.index < todays_date]
testing_df = self.final_all_predictions_df[self.final_all_predictions_df.index == todays_date]

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the bug, we were off by the n_prediction_days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant