Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use timely-beliefs tooling to create forecast model specs (#154)
Introduce TBSeriesSpecs (subclassed from SeriesSpecs) that makes use of the collect functionality introduced earlier in FlexMeasures. We need such timely-beliefs tooling to ensure our beliefs data is properly mapped to a time series data structure that ML models can work with (i.e. feature frames). Currently, the collect functionality makes sure that the regressor data is deterministic and single-sourced. Also introduces the possibility to set the desired resolution of forecasts, plus some minor refactoring. * Rename make_forecasts * Fix and rename forecast period in CLI * Be explicit about kwargs and rename forecast period in internal functions * Make model parameters out of forecast resolution and remodel frequency * Use tb tooling to collect time series to resolve cases like multi-sourced beliefs * Upsample forecasts to sensor resolution * Improve error message * Fix case * Fix asset_type cases * flake8 * PR fixes * Remove obsolete parameter * Changelog entry * Use timetomodel resampling functionality * Update tutorial * Update requirement * Update compiled requirement * Update requirement for handling instantaneous sensors
- Loading branch information
Showing
9 changed files
with
202 additions
and
50 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.