openclimatefix / nowcasting-metrics

Repo to automatically run metrics on the nowcasting forecast
0 stars 1 forks source link

Add Pinball metric #31

Closed peterdudfield closed 11 months ago

peterdudfield commented 1 year ago

Detailed Description

Would be good to see how well national_xg model is doing, and Pvnet. Perhaps just do this on National first of all

peterdudfield commented 1 year ago

https://www.lokad.com/pinball-loss-function-definition/#:~:text=The%20pinball%20loss%20function%2C%20also,forecast%20is%20a%20subtle%20problem.

peterdudfield commented 11 months ago

We could expand this out to Pvnet_2 too now

peterdudfield commented 11 months ago

We probably want to do a few probablistic metrics

peterdudfield commented 11 months ago

For getting the values out of the json column. We could use json_extract_path(properties, '10')

abhijelly commented 11 months ago

@peterdudfield can I take this up if no one is working on this?

abhijelly commented 11 months ago

hey @peterdudfield I'm currently giving this a go and in order to test my approach, I believe I need the database - how do I connect to an actual or a dummy database if possible?

peterdudfield commented 11 months ago

Hey @abhijelly , ive atcually started this in #41 so this might not be the best one to do.

Would you like to do https://github.com/openclimatefix/pv-site-production/issues/59 (I will add some more detail to this task)

peterdudfield commented 11 months ago

hey @peterdudfield I'm currently giving this a go and in order to test my approach, I believe I need the database - how do I connect to an actual or a dummy database if possible?

Yea connecting to the main database is going to be hard. In the past we've gone along

peterdudfield commented 11 months ago

@abhijelly you may want to consider doing this one too - https://github.com/openclimatefix/pv-site-api/issues/124