Commit f774851
feature: Added (openstef-meta) meta models package (#771)
* Added Lightgbm, LightGBM Linear Trees and Hybrid Stacking Forecasters
* Fixed small issues
* Ruff compliance
* fixed quality checks
* Fixed last issues, Signed-off-by: Lars van Someren <[email protected]>
* fixed comments
* Refactor LightGBM to LGBM
* Update LGBM and LGBMLinear defaults, fixed comments
* Fixed comments
* Added SkopsModelSerializer
* Fixed issues
* Gitignore optimization and dev sandbox
* Added MultiQuantileAdapter Class
* small fix
* Hybrid V2
* Small fix
* Squashed commit of the following:
commit 37089b8
Author: Egor Dmitriev <[email protected]>
Date: Mon Nov 17 15:29:59 2025 +0100
fix(#728): Fixed parallelism stability issues, and gblinear feature pipeline. (#752)
* fix(STEF-2475): Added loky as default option for parallelism since fork causes instabilities for xgboost results.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Added better support for flatliners and predicting when data is sparse.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Feature handing improvements for gblinear. Like imputation, nan dropping, and checking if features are available.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(#728): Added checks on metrics to gracefully handle empty data. Added flatline filtering during evalution.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(#728): Updated xgboost to skip scaling on empty prediction.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Added parallelism parameters.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit a85a3f7
Author: Egor Dmitriev <[email protected]>
Date: Fri Nov 14 14:31:34 2025 +0100
fix(STEF-2475): Fixed rolling aggregate adder by adding forward filling and stating support for only one horizon. (#750)
Signed-off-by: Egor Dmitriev <[email protected]>
commit 4f0c664
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:54:15 2025 +0100
feature: Disabled data cutoff by default to be consistent with openstef 3. And other minor improvements. (#748)
commit 493126e
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:12:35 2025 +0100
fix(STEF-2475) fix and refactor backtesting iction in context of backtestforecasting config for clarity. Added more colors. Fixed data split function to handle 0.0 splits. (#747)
* fix: Fixed data collation during backtesting. Renamed horizon to prediction in context of backtestforecasting config for clarity. Added more colors. Fixed data split function to handle 0.0 splits.
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit 6b1da44
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:05:32 2025 +0100
feature: forecaster hyperparams and eval metrics (#746)
* feature(#729) Removed to_state and from_state methods in favor of builtin python state saving functions.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Fixed issue where generic transform pipeline could not be serialized.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature: standardized objective function. Added custom evaluation functions for forecasters.
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
* set silence
* small fix
* Fix final learner
* fixed lgbm efficiency
* updated lgbm linear params
* Fixed type and quality issues
* First Version Sample Weighting Approach
Signed-off-by: Lars van Someren <[email protected]>
* MetaForecasterClass
Signed-off-by: Lars van Someren <[email protected]>
* Research/v4.1.0 additional forecasters (#765)
* Added Lightgbm, LightGBM Linear Trees and Hybrid Stacking Forecasters
* Fixed small issues
* Ruff compliance
* fixed quality checks
* Fixed last issues, Signed-off-by: Lars van Someren <[email protected]>
* fixed comments
* Refactor LightGBM to LGBM
* Update LGBM and LGBMLinear defaults, fixed comments
* Fixed comments
* Added SkopsModelSerializer
* Fixed issues
* Gitignore optimization and dev sandbox
* Added MultiQuantileAdapter Class
* small fix
* Hybrid V2
* Small fix
* Squashed commit of the following:
commit 37089b8
Author: Egor Dmitriev <[email protected]>
Date: Mon Nov 17 15:29:59 2025 +0100
fix(#728): Fixed parallelism stability issues, and gblinear feature pipeline. (#752)
* fix(STEF-2475): Added loky as default option for parallelism since fork causes instabilities for xgboost results.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Added better support for flatliners and predicting when data is sparse.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Feature handing improvements for gblinear. Like imputation, nan dropping, and checking if features are available.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(#728): Added checks on metrics to gracefully handle empty data. Added flatline filtering during evalution.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(#728): Updated xgboost to skip scaling on empty prediction.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2475): Added parallelism parameters.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit a85a3f7
Author: Egor Dmitriev <[email protected]>
Date: Fri Nov 14 14:31:34 2025 +0100
fix(STEF-2475): Fixed rolling aggregate adder by adding forward filling and stating support for only one horizon. (#750)
Signed-off-by: Egor Dmitriev <[email protected]>
commit 4f0c664
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:54:15 2025 +0100
feature: Disabled data cutoff by default to be consistent with openstef 3. And other minor improvements. (#748)
commit 493126e
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:12:35 2025 +0100
fix(STEF-2475) fix and refactor backtesting iction in context of backtestforecasting config for clarity. Added more colors. Fixed data split function to handle 0.0 splits. (#747)
* fix: Fixed data collation during backtesting. Renamed horizon to prediction in context of backtestforecasting config for clarity. Added more colors. Fixed data split function to handle 0.0 splits.
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit 6b1da44
Author: Egor Dmitriev <[email protected]>
Date: Thu Nov 13 16:05:32 2025 +0100
feature: forecaster hyperparams and eval metrics (#746)
* feature(#729) Removed to_state and from_state methods in favor of builtin python state saving functions.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Fixed issue where generic transform pipeline could not be serialized.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(#729): Added more state saving tests
Signed-off-by: Egor Dmitriev <[email protected]>
* feature: standardized objective function. Added custom evaluation functions for forecasters.
* fix: Formatting.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
* set silence
* small fix
* Fix final learner
* fixed lgbm efficiency
* updated lgbm linear params
* Fixed type and quality issues
* remove depricated files
Signed-off-by: Lars van Someren <[email protected]>
* change: Fixed dependencies to align more with the current release.
Signed-off-by: Egor Dmitriev <[email protected]>
* change: Style fixes.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Lars van Someren <[email protected]>
Signed-off-by: Egor Dmitriev <[email protected]>
Co-authored-by: Egor Dmitriev <[email protected]>
* fix merge issue
Signed-off-by: Lars van Someren <[email protected]>
* Fixed type Issues
Signed-off-by: Lars van Someren <[email protected]>
* Introduced openstef_metalearning
Signed-off-by: Lars van Someren <[email protected]>
* ResidualForecaster + refactoring
Signed-off-by: Lars van Someren <[email protected]>
* Testing and fixes on Learned Weights Forecaster
Signed-off-by: Lars van Someren <[email protected]>
* FinalLearner PreProcessor
Signed-off-by: Lars van Someren <[email protected]>
* Fixed benchmark references
Signed-off-by: Lars van Someren <[email protected]>
* Added additional Feature logic to StackingForecaster
Signed-off-by: Lars van Someren <[email protected]>
* added example to openstef Meta
Signed-off-by: Lars van Someren <[email protected]>
* RulesForecaster with dummy features
Signed-off-by: Lars van Someren <[email protected]>
* Updated feature specification
Signed-off-by: Lars van Someren <[email protected]>
* entered flagger feature in new architecture
* Fix sample weights
Signed-off-by: Lars van Someren <[email protected]>
* Fixes
Signed-off-by: Lars van Someren <[email protected]>
* PR compliant
Signed-off-by: Lars van Someren <[email protected]>
* Ensemble Forecast Dataset
Signed-off-by: Lars van Someren <[email protected]>
* Make PR compliant
Signed-off-by: Lars van Someren <[email protected]>
* fixed toml
Signed-off-by: Lars van Someren <[email protected]>
* Really fixed the TOML
Signed-off-by: Lars van Someren <[email protected]>
* Renamed FinalLearner to Forecast Combiner. Eliminated redundant classes
Signed-off-by: Lars van Someren <[email protected]>
* fixed small issues
Signed-off-by: Lars van Someren <[email protected]>
* Major Refactor, Working Version
Signed-off-by: Lars van Someren <[email protected]>
* Fixed tests
Signed-off-by: Lars van Someren <[email protected]>
* Prepared TODOs for Florian
Signed-off-by: Lars van Someren <[email protected]>
* Small fix
Signed-off-by: Lars van Someren <[email protected]>
* Made PR Compliant
Signed-off-by: Lars van Someren <[email protected]>
* BugFix
Signed-off-by: Lars van Someren <[email protected]>
* fixes
Signed-off-by: Lars van Someren <[email protected]>
* bug fixes
Signed-off-by: Lars van Someren <[email protected]>
* added learned weights contributions
* Added Feature Contributions
Residual Forecaster and Stacking Forecaster can now predict model contributions. Regular forecasters (EXCEPT LGBM Linear) can predict feature contributions
* Bugfixes
Signed-off-by: Lars van Someren <[email protected]>
* fixes
Signed-off-by: Lars van Someren <[email protected]>
* Squashed commit of the following:
commit 6f88d72
Author: Lars van Someren <[email protected]>
Date: Mon Dec 8 09:46:57 2025 +0100
Bugfixes
Signed-off-by: Lars van Someren <[email protected]>
commit b44fd92
Author: Lars van Someren <[email protected]>
Date: Thu Dec 4 14:39:31 2025 +0100
bug fixes
Signed-off-by: Lars van Someren <[email protected]>
commit e212448
Author: Lars van Someren <[email protected]>
Date: Thu Dec 4 12:38:24 2025 +0100
fixes
Signed-off-by: Lars van Someren <[email protected]>
commit eb775e4
Author: Lars van Someren <[email protected]>
Date: Thu Dec 4 11:40:44 2025 +0100
BugFix
Signed-off-by: Lars van Someren <[email protected]>
commit c33ce93
Author: Lars van Someren <[email protected]>
Date: Wed Dec 3 14:15:06 2025 +0100
Made PR Compliant
Signed-off-by: Lars van Someren <[email protected]>
* Fixes
Signed-off-by: Lars van Someren <[email protected]>
* fixed tests
Signed-off-by: Lars van Someren <[email protected]>
* small fix
Signed-off-by: Lars van Someren <[email protected]>
* Stacking Bugfix
Signed-off-by: Lars van Someren <[email protected]>
* Added hard Forecast Selection
Signed-off-by: Lars van Someren <[email protected]>
* Improved data handling in EnsembleForecasting model, correct data splitting and Model Fit Result. Validation and test data can now be fully used
Signed-off-by: Lars van Someren <[email protected]>
* Migrated Flagger and Selector to OpenSTEF Models transforms
Signed-off-by: Lars van Someren <[email protected]>
* Fixed restore target Forecast Combiner
Signed-off-by: Lars van Someren <[email protected]>
* Streamline logging statements, Fix quality
Signed-off-by: Lars van Someren <[email protected]>
* Resolved comments, fixed bug
Signed-off-by: Lars van Someren <[email protected]>
* Moved example
Signed-off-by: Lars van Someren <[email protected]>
* Bring 4.1 up to date with release
Squashed commit of the following:
commit 6d140bc
Author: Lars Schilders <[email protected]>
Date: Wed Dec 17 10:33:19 2025 +0100
feature: add regex pattern matching in FeatureSelection and fix combine bug (#787)
commit 32a42bb
Author: Lars Schilders <[email protected]>
Date: Tue Dec 16 13:50:40 2025 +0100
feature: Selector transform (#786)
* feature: add Selector transform
* add ForecastInputDataset testcases
* add selected_features to presets
* add doctest
commit d3977b1
Author: Egor Dmitriev <[email protected]>
Date: Mon Dec 15 09:17:38 2025 +0100
feature: added tutorials for basic functionality. Added convenience method for simple openstef baselines. (#785)
* feature: Added tutorial start.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature: Added example notebooks. First draft.
Signed-off-by: Egor Dmitriev <[email protected]>
* chore(examples): add examples workspace project and register it in workspace; update lock
* fix(lint): add missing docstrings in baselines package (D104, D103)
* chore(examples): add examples workspace project and register it in workspace; update lock
* chore(examples): Updated text in examples.
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit 8a4097c
Author: Bart Pleiter <[email protected]>
Date: Wed Dec 10 16:19:48 2025 +0100
fix: exclude stdev column from quantile column checking. (#783)
* fix: exclude stdev column from quantile column checking.
Signed-off-by: Bart Pleiter <[email protected]>
* fix: duplicate removed.
Signed-off-by: Bart Pleiter <[email protected]>
* fix: type
Signed-off-by: Bart Pleiter <[email protected]>
---------
Signed-off-by: Bart Pleiter <[email protected]>
commit 43987fc
Author: Egor Dmitriev <[email protected]>
Date: Wed Dec 10 10:24:32 2025 +0100
fix(STEF-2549): Added none check for model end date from mlflow. Added experiment tags. (#782)
Signed-off-by: Egor Dmitriev <[email protected]>
commit 1891009
Author: Lars Schilders <[email protected]>
Date: Tue Dec 9 14:40:40 2025 +0100
feature: check for model config change and skip model selection (#781)
* feature: check for model config change and skip model selection
* changed checking model compatibility
* check for tag compatibility only
* fix tests
* rename new methods in callback
commit c37ac92
Author: Lars Schilders <[email protected]>
Date: Tue Dec 9 09:22:58 2025 +0100
fix: clip values of wind and solar components to below 0 (#779)
* fix: clip values of wind and solar components to below 0
* add test for not all components zero
commit 3eb7e69
Author: Egor Dmitriev <[email protected]>
Date: Mon Dec 8 15:55:16 2025 +0100
feat(mlflow): suppress MLflow emoji URL logs (#780)
* feat(mlflow): suppress MLflow emoji URL logs
Add MLFLOW_SUPPRESS_PRINTING_URL_TO_STDOUT=true environment variable
to prevent MLflow from printing 'View run...' messages with emojis
that don't comply with ECS JSON logging format.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature: Style fixes.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit eca628e
Author: Lars Schilders <[email protected]>
Date: Fri Dec 5 16:27:53 2025 +0100
feature: nonzero flatliner preset (#777)
* add predict_nonzero_flatliner to presets
* remove redundant validate_required_columns
commit 61e1699
Author: Lars Schilders <[email protected]>
Date: Fri Dec 5 15:37:05 2025 +0100
feature: add standard devation column to ForecastDataset and add it in ConfidenceIntervalApplicator (#778)
* feature: add standard devation column to ForecastDataset and add it in ConfidenceIntervalApplicator
* simplify code for adding column
commit 4f70d00
Author: Lars Schilders <[email protected]>
Date: Fri Dec 5 10:41:23 2025 +0100
chore: change radiation unit to Wm-2 (#776)
* chore: change expected radiation unit to W/m-2
* change values in test for radiation features adder
* fix docs for dni/gti unit
* formatting
commit 71ac428
Author: Bart Pleiter <[email protected]>
Date: Wed Dec 3 09:45:34 2025 +0100
feature: added use_median option to flatliner forecaster so it predic… (#773)
* feature: added use_median option to flatliner forecaster so it predicts the median of the training data.
Signed-off-by: Bart Pleiter <[email protected]>
* feature: improved naming to predict_median.
Signed-off-by: Bart Pleiter <[email protected]>
---------
Signed-off-by: Bart Pleiter <[email protected]>
commit 45ca37f
Author: Lars Schilders <[email protected]>
Date: Wed Nov 26 15:45:07 2025 +0100
fix: fixes in EvaluationPipeline and TimeSeriesPlotter (#769)
* Remove target column from predictions to avoid duplication for lead_times
* get sample_interval class attr
commit ee41442
Author: Egor Dmitriev <[email protected]>
Date: Wed Nov 26 14:01:16 2025 +0100
fix: Improved mlflow to use run names and load proper models for reuse. Fixed time series plotter to use correct sample interval paramter. (#768)
* feature: Improved mlflow to use run names and load proper models for reuse. Fixed time series plotter to use correct sample interval paramter.
Signed-off-by: Egor Dmitriev <[email protected]>
* feature(STEF-2551): Fixed path. Changed run_name to step_name in backtester.
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Egor Dmitriev <[email protected]>
commit 7deb69e
Author: Bart Pleiter <[email protected]>
Date: Fri Nov 21 14:42:54 2025 +0100
chore: replaced alliander emails with lfenergy email. (#767)
Signed-off-by: Bart Pleiter <[email protected]>
Signed-off-by: Lars van Someren <[email protected]>
* Integrated changes to beam structure
Signed-off-by: Lars van Someren <[email protected]>
* make PR compliant
Signed-off-by: Lars van Someren <[email protected]>
* Fix when aggregation functions empty.
Signed-off-by: Marnix van Lieshout <[email protected]>
* Improve naming
Signed-off-by: Marnix van Lieshout <[email protected]>
* Cleaning up
Signed-off-by: Marnix van Lieshout <[email protected]>
* Change how config's are made and used for combiner and stacking models.
Signed-off-by: Marnix van Lieshout <[email protected]>
* Cleaning up
Signed-off-by: Marnix van Lieshout <[email protected]>
* Move skops code to separate branch
Signed-off-by: Marnix van Lieshout <[email protected]>
* Move rules combiner code to separate branch
Signed-off-by: Marnix van Lieshout <[email protected]>
* Cleaning up
Signed-off-by: Marnix van Lieshout <[email protected]>
* Cleaning up
Signed-off-by: Marnix van Lieshout <[email protected]>
* Improve hyperparam naming
Signed-off-by: Marnix van Lieshout <[email protected]>
* Remove openstef-meta dependency in openstef-models
Signed-off-by: Marnix van Lieshout <[email protected]>
* Separating openstef-models and openstef-meta WIP
Signed-off-by: Marnix van Lieshout <[email protected]>
* Move residual model to separate branch
Signed-off-by: Marnix van Lieshout <[email protected]>
* Rename regression tests to integration
Signed-off-by: Marnix van Lieshout <[email protected]>
* Move forecaster back for now
Signed-off-by: Marnix van Lieshout <[email protected]>
* Use sample weight config in models
Signed-off-by: Marnix van Lieshout <[email protected]>
* Add importances to median forecaster
Signed-off-by: Marnix van Lieshout <[email protected]>
* Rename for consistency
Signed-off-by: Marnix van Lieshout <[email protected]>
* Move base mlflow callback to separate file
Signed-off-by: Marnix van Lieshout <[email protected]>
* Clean up docstring
Signed-off-by: Marnix van Lieshout <[email protected]>
* Add explainability to combiner models
Signed-off-by: Marnix van Lieshout <[email protected]>
* Make combiners explainable
Signed-off-by: Marnix van Lieshout <[email protected]>
* Delete empty folder
Signed-off-by: Marnix van Lieshout <[email protected]>
* Use protocols
Signed-off-by: Marnix van Lieshout <[email protected]>
* Rename test file
Signed-off-by: Marnix van Lieshout <[email protected]>
* Reset pinball_losses changes
Signed-off-by: Marnix van Lieshout <[email protected]>
* Fix linting issues
Signed-off-by: Marnix van Lieshout <[email protected]>
* Add base models to tags MLflow
Signed-off-by: Marnix van Lieshout <[email protected]>
* Improve what is stored in MLFlow
Signed-off-by: Marnix van Lieshout <[email protected]>
* Formatting
Signed-off-by: Marnix van Lieshout <[email protected]>
* refactor(STEF-2702): Meta rework v2 — flatten configs, abstract hparams, clean up presets (#818)
* fix(STEF-2802): skip RollingAggregatesAdder when no aggregation functions (#813)
When rolling_aggregate_features is empty (e.g., ato_regions, grid_losses),
the RollingAggregatesAdder transform is no longer added to the pipeline.
Previously it was always added, and fit() would crash with
ValueError: No objects to concatenate when calling pandas rolling().agg([]).
Signed-off-by: Egor Dmitriev <[email protected]>
* fix(STEF-2802): anchor mlflow gitignore patterns to repo root (#814)
The bare 'mlflow' pattern matched anywhere in the tree, which caused
hatchling to exclude packages/openstef-models/src/openstef_models/integrations/mlflow/
from the built wheel. Root-anchoring with '/mlflow' limits the match to
only the top-level mlflow directory (local MLflow data).
Broken since v4.0.0.a17 (commit 1bcf71d).
Signed-off-by: Egor Dmitriev <[email protected]>
* refactor(STEF-2702): extract BaseForecastingModel and ContributionsMixin
- Extract BaseForecastingModel as abstract base with hyperparams property
- Create ContributionsMixin with predict_contributions -> TimeSeriesDataset
- Remove predict_contributions from ExplainableForecaster (now ContributionsMixin)
- Implement ContributionsMixin on all ML forecasters (XGBoost, GBLinear, LGBM, LGBMLinear)
- Implement ContributionsMixin on baseline forecasters (flatliner, median, constant_median, base_case)
- Defer lightgbm imports to __init__() with MissingExtraError guard
- Inline _get_primary_hyperparams into model.hyperparams property
- Update mlflow callback and custom workflow to use BaseForecastingModel
- Update tests for new predict_contributions signature
* refactor(STEF-2702): flatten combiners, rearchitect StackingCombiner, prune low-value tests
- ForecastCombiner IS its config (BaseConfig + Predictor + ABC)
- Remove ForecastCombinerConfig entirely
- WeightsCombiner/StackingCombiner: flatten fields, use PrivateAttr for mutable state
- StackingCombiner: accept meta_forecaster template, clone via config.model_copy()
- Remove factory chain (forecaster_class -> Config -> forecaster_from_config)
- Add hyperparams field to ForecastCombiner base (no more getattr reflection)
- Extract _prepare_input helper, simplify predict/contributions/importances
- Delete test_forecast_combiner.py (6 tests testing pydantic/stdlib only)
- Remove test_initialization from combiner tests (covered by fit_predict)
- Remove test_init_uses_defaults (tested pydantic defaults)
- All 469 tests pass across core+models+meta
* refactor(STEF-2702): flatten forecasters into BaseConfig, add abstract hparams property
* refactor(STEF-2702): column separator, lightgbm optional, move classification to combiner
- D5: Move get_best_forecaster_labels/pinball classification from
EnsembleForecastDataset to WeightsCombiner._classify_best_forecaster
- D6: Change ensemble column separator from '_' to '__' (ENSEMBLE_COLUMN_SEP),
add forecaster name validation, remove dead get_quantile_feature_name
- Phase 1.5: Make lightgbm optional dependency (optional-dependencies.lgbm),
add MissingExtraError guards to combiner get_classifier methods
- Phase 3.2: Replace isinstance(model, EnsembleForecastingModel) with
polymorphic try/except NotImplementedError in beam backtest
* refactor(STEF-2702): abstract hparams on ForecastCombiner, fix all lint/type errors, add inline docs
* refactor(STEF-2702): rename EnsembleWorkflowConfig to EnsembleForecastingWorkflowConfig
* refactor(STEF-2702): clean up forecasting_workflow preset, extract helpers, prefix internals
* fix(STEF-2702): address PR review — remove D1 reference, rename fixture
* feat(STEF-2702): validate horizons consistency at EnsembleForecastingModel construction
* fix(STEF-2702): regenerate lockfile against PyPI (remove JFrog URLs)
---------
Signed-off-by: Egor Dmitriev <[email protected]>
---------
Signed-off-by: Lars van Someren <[email protected]>
Signed-off-by: Egor Dmitriev <[email protected]>
Signed-off-by: Marnix van Lieshout <[email protected]>
Co-authored-by: Egor Dmitriev <[email protected]>
Co-authored-by: floriangoethals <[email protected]>
Co-authored-by: Marnix van Lieshout <[email protected]>1 parent 9271c05 commit f774851
74 files changed
Lines changed: 6562 additions & 1437 deletions
File tree
- examples
- benchmarks
- examples
- packages
- openstef-beam/src/openstef_beam/benchmarking/baselines
- openstef-core/src/openstef_core/datasets
- openstef-meta
- src/openstef_meta
- models
- forecast_combiners
- presets
- utils
- tests
- integration
- unit
- integrations
- models
- forecast_combiners
- forecasting
- utils
- openstef-models
- src/openstef_models
- explainability
- integrations/mlflow
- models
- forecasting
- presets
- transforms
- general
- time_domain
- utils
- workflows
- tests/unit
- integrations/mlflow
- models
- forecasting
- transforms/general
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
| |||
70 | 67 | | |
71 | 68 | | |
72 | 69 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
Lines changed: 62 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| 34 | + | |
24 | 35 | | |
25 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| |||
54 | 67 | | |
55 | 68 | | |
56 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 | | |
58 | 75 | | |
59 | 76 | | |
| |||
62 | 79 | | |
63 | 80 | | |
64 | 81 | | |
65 | | - | |
| 82 | + | |
66 | 83 | | |
67 | 84 | | |
68 | 85 | | |
| |||
71 | 88 | | |
72 | 89 | | |
73 | 90 | | |
74 | | - | |
75 | | - | |
| 91 | + | |
| 92 | + | |
76 | 93 | | |
77 | 94 | | |
78 | 95 | | |
| |||
82 | 99 | | |
83 | 100 | | |
84 | 101 | | |
85 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
86 | 105 | | |
87 | 106 | | |
88 | 107 | | |
| |||
102 | 121 | | |
103 | 122 | | |
104 | 123 | | |
105 | | - | |
| 124 | + | |
106 | 125 | | |
107 | 126 | | |
108 | 127 | | |
| |||
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
139 | 167 | | |
140 | 168 | | |
141 | 169 | | |
| |||
144 | 172 | | |
145 | 173 | | |
146 | 174 | | |
147 | | - | |
| 175 | + | |
148 | 176 | | |
149 | 177 | | |
150 | 178 | | |
| |||
158 | 186 | | |
159 | 187 | | |
160 | 188 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
176 | 196 | | |
177 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
178 | 209 | | |
179 | 210 | | |
180 | 211 | | |
| |||
184 | 215 | | |
185 | 216 | | |
186 | 217 | | |
187 | | - | |
| 218 | + | |
188 | 219 | | |
189 | 220 | | |
190 | 221 | | |
| |||
225 | 256 | | |
226 | 257 | | |
227 | 258 | | |
228 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments