aditya-grover / climate-learn

Source code for ClimateLearn
MIT License
310 stars 49 forks source link

Bug in the persistence baseline for forecasting #83

Closed prakhar6sharma closed 1 year ago

prakhar6sharma commented 1 year ago

Describe the bug The persistence baseline for forecasting assumes that the last input value can be used as output. But this makes the assumption that the input variables is same as output variables. See this.

prakhar6sharma commented 1 year ago

@tung-nd can you please confirm that it is indeed a bug and if possible come up with a PR to fix it.

In my personal opinion, I don't think we can support persistence baseline for the general case. Currently, data-loader doesn't make assumption the the set of output variables should be a subset of input variables.

jasonjewik commented 1 year ago

You're right. We are making too much of an assumption here. IMO we can make persistence baseline a toggle (i.e., the user specifies whether they want a persistence baseline to show up in the results AND we check that the output variables are a subset of the input variables).