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

Add plots of 10 first predictions in evalution #111

Open
peterdudfield opened this issue Apr 22, 2024 · 1 comment · May be fixed by #174
Open

Add plots of 10 first predictions in evalution #111

peterdudfield opened this issue Apr 22, 2024 · 1 comment · May be fixed by #174

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented Apr 22, 2024

Add plots to evaluation script and look at the results between the truth and forecasts

Might be worth seeing the difference that #112 makes

@peterdudfield
Copy link
Contributor Author

Screenshot 2024-04-23 at 19 06 40

Something like this, but would be good to get each forecast on its own plot

import pandas as pd
import plotly.graph_objects as go

df = pd.read_csv('results.csv')
df.set_index('timestamp',inplace=True)

# sort by timestamp
df.sort_index(inplace=True)

traces = []
traces.append(go.Scatter(x=df.index, y=df['forecast_power'],name='forecast'))
traces.append(go.Scatter(x=df.index, y=df['generation_power'], name='generation'))
fig = go.Figure(data=traces)

fig.show(renderer='browser')

@BraunRudolf BraunRudolf linked a pull request Aug 6, 2024 that will close this issue
6 tasks
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 a pull request may close this issue.

1 participant