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

nothing #10

Closed
943fansi opened this issue Jun 9, 2022 · 0 comments
Closed

nothing #10

943fansi opened this issue Jun 9, 2022 · 0 comments

Comments

@943fansi
Copy link

943fansi commented Jun 9, 2022

I am using nbeatsx_example.ipynb, and add some codes as follow:

result jpg
https://github.com/943fansi/GuideOfP/blob/main/1.jpg

print(y_true.shape, y_hat.shape, block.shape)
plt.plot(range(168, 336), y_true.flatten(), label='Price')
plt.plot(range(168, 336), y_hat.flatten(), linestyle='dashed', label='Forecast')
plt.axvline(168, color='black')
plt.legend()
plt.grid()
plt.xlabel('Hour')
plt.ylabel('Price')

plt.figure()
print(block.shape, len(block))
plt.plot(range(168, 336), block[:, 0, :].flatten(), linestyle='dashed', label='block Forecast')
plt.plot(range(168, 336), block[:, 1, :].flatten(), linestyle='dashed', label='block Forecast')
plt.show()```

@943fansi 943fansi closed this as completed Dec 8, 2022
@943fansi 943fansi reopened this Dec 8, 2022
@943fansi 943fansi changed the title a big difference between the block prediction value and the final prediction value nothing Dec 8, 2022
@943fansi 943fansi closed this as completed Dec 8, 2022
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

1 participant