Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the input window and output window overlap #8

Open
stoyanoronaldo opened this issue Jan 31, 2025 · 1 comment
Open

Why does the input window and output window overlap #8

stoyanoronaldo opened this issue Jan 31, 2025 · 1 comment

Comments

@stoyanoronaldo
Copy link

Hello again @lingbai-kong,

In the TimeseriesdDataLoader:

for i in range(self.time_step,len(self.data)+1):
self.dataset.append((self.data[i-self.time_step:i].reshape(self.time_step,self.series_num,self.feature_dim) ,self.data[i-self.output_window:i].reshape(self.output_window,self.series_num,self.output_dim)))

why does the input window and output window overlap, if I'm getting the things right?

Best regards

@lingbai-kong
Copy link
Owner

lingbai-kong commented Mar 5, 2025

Hello, “the input window and output window overlaps" is in line with expectations. Maybe you concern this could lead to label leak problem because it is quiet unusual for a forecasting model. However, thanks to the multi-kernel causal convolution block, when the model forecasts certain value in output window, it will not get any information after the time point of that value. So label leak problem does not happen.
@stoyanoronaldo

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

No branches or pull requests

2 participants