Created
May 15, 2022 15:10
-
-
Save h3ik0th/6dd9fdd689fceb8c2e748e44eed359a3 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
# plot the forecast | |
plt.figure(100, figsize=(20, 7)) | |
sns.set(font_scale=1.3) | |
p = sns.lineplot(x = "time", y = "Q50", data = dfY, palette="coolwarm") | |
sns.lineplot(x = "time", y = "Actual", data = dfY, palette="coolwarm") | |
plt.legend(labels=["forecast median price Q50", "actual price"]) | |
p.set_ylabel("price") | |
p.set_xlabel("") | |
end = ts_tpred.end_time() | |
p.set_title("energy price until {} (test set + {} hours out-of-sample)".format(end, k)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment