scoringutils
scoringutils copied to clipboard
Create abstract `forecast` class
I wonder if there should be a
forecast
abstract class, from whichforecast_binary
,forecast_point
, etc. would inherit. In the docs and exported functions (e.g.,is_forecast()
,validate_forecast()
), things appear as if there is such as class, and the actual classforecast_binary
,forecast_point
, etc. as not so visible.
Originally posted by @Bisaloo in https://github.com/epiforecasts/scoringutils/pull/791#pullrequestreview-2003401135