openstef-meta 4.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openstef_meta-4.0.0/.gitignore +146 -0
- openstef_meta-4.0.0/PKG-INFO +21 -0
- openstef_meta-4.0.0/README.md +0 -0
- openstef_meta-4.0.0/pyproject.toml +42 -0
- openstef_meta-4.0.0/src/openstef_meta/__init__.py +13 -0
- openstef_meta-4.0.0/src/openstef_meta/models/__init__.py +5 -0
- openstef_meta-4.0.0/src/openstef_meta/models/ensemble_forecasting_model.py +677 -0
- openstef_meta-4.0.0/src/openstef_meta/models/forecast_combiners/__init__.py +25 -0
- openstef_meta-4.0.0/src/openstef_meta/models/forecast_combiners/forecast_combiner.py +129 -0
- openstef_meta-4.0.0/src/openstef_meta/models/forecast_combiners/learned_weights_combiner.py +397 -0
- openstef_meta-4.0.0/src/openstef_meta/models/forecast_combiners/stacking_combiner.py +133 -0
- openstef_meta-4.0.0/src/openstef_meta/presets/__init__.py +12 -0
- openstef_meta-4.0.0/src/openstef_meta/presets/forecasting_workflow.py +645 -0
- openstef_meta-4.0.0/src/openstef_meta/utils/__init__.py +9 -0
- openstef_meta-4.0.0/src/openstef_meta/utils/datasets.py +48 -0
- openstef_meta-4.0.0/tests/integration/__init__.py +0 -0
- openstef_meta-4.0.0/tests/integration/test_ensemble_forecasting_model.py +104 -0
- openstef_meta-4.0.0/tests/unit/integrations/__init__.py +3 -0
- openstef_meta-4.0.0/tests/unit/integrations/test_mlflow_storage_callback_ensemble.py +321 -0
- openstef_meta-4.0.0/tests/unit/models/__init__.py +0 -0
- openstef_meta-4.0.0/tests/unit/models/conftest.py +59 -0
- openstef_meta-4.0.0/tests/unit/models/forecast_combiners/__init__.py +0 -0
- openstef_meta-4.0.0/tests/unit/models/forecast_combiners/conftest.py +58 -0
- openstef_meta-4.0.0/tests/unit/models/forecast_combiners/test_learned_weights_combiner.py +168 -0
- openstef_meta-4.0.0/tests/unit/models/forecast_combiners/test_stacking_combiner.py +100 -0
- openstef_meta-4.0.0/tests/unit/models/forecasting/__init__.py +0 -0
- openstef_meta-4.0.0/tests/unit/models/test_ensemble_forecasting_model.py +208 -0
- openstef_meta-4.0.0/tests/unit/utils/__init__.py +0 -0
- openstef_meta-4.0.0/tests/unit/utils/test_datasets.py +79 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the OpenSTEF project <openstef@lfenergy.org> # noqa E501>
|
|
2
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
3
|
+
|
|
4
|
+
# Core
|
|
5
|
+
config.user.yaml
|
|
6
|
+
git-template
|
|
7
|
+
.DS_Store
|
|
8
|
+
tmp
|
|
9
|
+
|
|
10
|
+
# Python bytecode
|
|
11
|
+
__pycache__/
|
|
12
|
+
*.py[cod]
|
|
13
|
+
*$py.class
|
|
14
|
+
|
|
15
|
+
# C extensions
|
|
16
|
+
*.so
|
|
17
|
+
|
|
18
|
+
# Packaging and build artifacts
|
|
19
|
+
.Python
|
|
20
|
+
build/
|
|
21
|
+
dist/
|
|
22
|
+
downloads/
|
|
23
|
+
wheels/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
sdist/
|
|
26
|
+
.eggs/
|
|
27
|
+
*.egg-info/
|
|
28
|
+
*.egg
|
|
29
|
+
.installed.cfg
|
|
30
|
+
MANIFEST
|
|
31
|
+
|
|
32
|
+
# uv
|
|
33
|
+
.uv/
|
|
34
|
+
|
|
35
|
+
# Ruff
|
|
36
|
+
.ruff_cache/
|
|
37
|
+
|
|
38
|
+
# Pyright
|
|
39
|
+
.pyright/
|
|
40
|
+
# pyright-report/
|
|
41
|
+
|
|
42
|
+
# Test, coverage, tox
|
|
43
|
+
.pytest_cache/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
htmlcov/
|
|
47
|
+
.cover/
|
|
48
|
+
cover/
|
|
49
|
+
pytest-report.xml
|
|
50
|
+
.tox/
|
|
51
|
+
.nox/
|
|
52
|
+
coverage.xml
|
|
53
|
+
|
|
54
|
+
# Hypothesis
|
|
55
|
+
.hypothesis/
|
|
56
|
+
|
|
57
|
+
# Cython
|
|
58
|
+
cython_debug/
|
|
59
|
+
|
|
60
|
+
# Type checkers (misc)
|
|
61
|
+
.mypy_cache/
|
|
62
|
+
.dmypy.json
|
|
63
|
+
dmypy.json
|
|
64
|
+
.pytype/
|
|
65
|
+
.pyre/
|
|
66
|
+
|
|
67
|
+
# Sphinx
|
|
68
|
+
docs/_build/
|
|
69
|
+
docs/source/api/generated/
|
|
70
|
+
docs/source/tutorials/
|
|
71
|
+
docs/source/benchmarks/
|
|
72
|
+
docs/source/user_guide/**/quick_start_tutorial.py
|
|
73
|
+
docs/source/user_guide/**/feature_engineering_tutorial.py
|
|
74
|
+
docs/source/user_guide/**/datasets_tutorial.py
|
|
75
|
+
docs/source/user_guide/**/backtesting_tutorial.py
|
|
76
|
+
|
|
77
|
+
# docs/_doctrees/
|
|
78
|
+
# docs/_static_gen/
|
|
79
|
+
|
|
80
|
+
# Editors: JetBrains
|
|
81
|
+
.idea/
|
|
82
|
+
|
|
83
|
+
# Editors: VS Code (allow shared configs)
|
|
84
|
+
.vscode/*
|
|
85
|
+
|
|
86
|
+
# Jupyter / IPython
|
|
87
|
+
.ipynb_checkpoints
|
|
88
|
+
profile_default/
|
|
89
|
+
ipython_config.py
|
|
90
|
+
|
|
91
|
+
# Spyder / Rope
|
|
92
|
+
.spyderproject
|
|
93
|
+
.spyproject
|
|
94
|
+
.ropeproject
|
|
95
|
+
|
|
96
|
+
# Environments
|
|
97
|
+
.env
|
|
98
|
+
.venv
|
|
99
|
+
env/
|
|
100
|
+
venv/
|
|
101
|
+
ENV/
|
|
102
|
+
env.bak/
|
|
103
|
+
venv.bak/
|
|
104
|
+
|
|
105
|
+
# PEP 582
|
|
106
|
+
__pypackages__/
|
|
107
|
+
|
|
108
|
+
# web frameworks / services
|
|
109
|
+
*.sqlite
|
|
110
|
+
*.sqlite3
|
|
111
|
+
*.log
|
|
112
|
+
instance/
|
|
113
|
+
.webassets-cache
|
|
114
|
+
celerybeat-schedule
|
|
115
|
+
celerybeat.pid
|
|
116
|
+
*.sage.py
|
|
117
|
+
tmp/
|
|
118
|
+
|
|
119
|
+
# PyInstaller
|
|
120
|
+
*.manifest
|
|
121
|
+
*.spec
|
|
122
|
+
|
|
123
|
+
# Project outputs
|
|
124
|
+
output/
|
|
125
|
+
prof/
|
|
126
|
+
certificates/
|
|
127
|
+
|
|
128
|
+
# Output artifacts
|
|
129
|
+
*.html
|
|
130
|
+
*.pkl
|
|
131
|
+
|
|
132
|
+
# Benchmark outputs
|
|
133
|
+
benchmark_results*/
|
|
134
|
+
|
|
135
|
+
# Local dataset files
|
|
136
|
+
liander_dataset/
|
|
137
|
+
|
|
138
|
+
# Mlflow
|
|
139
|
+
/mlflow
|
|
140
|
+
/mlflow_artifacts_local
|
|
141
|
+
|
|
142
|
+
.github/instructions
|
|
143
|
+
|
|
144
|
+
# Jupyter notebook cache (myst-nb execution outputs)
|
|
145
|
+
.jupyter_cache/
|
|
146
|
+
docs/build.zip
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: openstef-meta
|
|
3
|
+
Version: 4.0.0
|
|
4
|
+
Summary: Meta models for OpenSTEF
|
|
5
|
+
Project-URL: Documentation, https://openstef.github.io/openstef/index.html
|
|
6
|
+
Project-URL: Homepage, https://lfenergy.org/projects/openstef/
|
|
7
|
+
Project-URL: Issues, https://github.com/OpenSTEF/openstef/issues
|
|
8
|
+
Project-URL: Repository, https://github.com/OpenSTEF/openstef
|
|
9
|
+
Author-email: "Alliander N.V" <short.term.energy.forecasts@alliander.com>
|
|
10
|
+
License-Expression: MPL-2.0
|
|
11
|
+
Keywords: energy,forecasting,machinelearning
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Requires-Python: <4.0,>=3.12
|
|
19
|
+
Requires-Dist: openstef-beam<5,>=4.0.0.dev0
|
|
20
|
+
Requires-Dist: openstef-core<5,>=4.0.0.dev0
|
|
21
|
+
Requires-Dist: openstef-models[lgbm]<5,>=4.0.0.dev0
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2025 Contributors to the OpenSTEF project <short.term.energy.forecasts@alliander.com>
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
|
|
5
|
+
[build-system]
|
|
6
|
+
build-backend = "hatchling.build"
|
|
7
|
+
|
|
8
|
+
requires = [ "hatchling" ]
|
|
9
|
+
|
|
10
|
+
[project]
|
|
11
|
+
name = "openstef-meta"
|
|
12
|
+
version = "4.0.0"
|
|
13
|
+
description = "Meta models for OpenSTEF"
|
|
14
|
+
readme = "README.md"
|
|
15
|
+
keywords = [ "energy", "forecasting", "machinelearning" ]
|
|
16
|
+
license = "MPL-2.0"
|
|
17
|
+
authors = [
|
|
18
|
+
{ name = "Alliander N.V", email = "short.term.energy.forecasts@alliander.com" },
|
|
19
|
+
]
|
|
20
|
+
requires-python = ">=3.12,<4.0"
|
|
21
|
+
classifiers = [
|
|
22
|
+
"Development Status :: 5 - Production/Stable",
|
|
23
|
+
"Intended Audience :: Developers",
|
|
24
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Programming Language :: Python :: 3.14",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
dependencies = [
|
|
31
|
+
"openstef-beam>=4.0.0.dev0,<5",
|
|
32
|
+
"openstef-core>=4.0.0.dev0,<5",
|
|
33
|
+
"openstef-models[lgbm]>=4.0.0.dev0,<5",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
urls.Documentation = "https://openstef.github.io/openstef/index.html"
|
|
37
|
+
urls.Homepage = "https://lfenergy.org/projects/openstef/"
|
|
38
|
+
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
|
|
39
|
+
urls.Repository = "https://github.com/OpenSTEF/openstef"
|
|
40
|
+
|
|
41
|
+
[tool.hatch.build.targets.wheel]
|
|
42
|
+
packages = [ "src/openstef_meta" ]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2017-2025 Contributors to the OpenSTEF project <short.term.energy.forecasts@alliander.com>
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
"""Meta models for OpenSTEF."""
|
|
5
|
+
|
|
6
|
+
import logging
|
|
7
|
+
|
|
8
|
+
# Set up logging configuration
|
|
9
|
+
root_logger = logging.getLogger(name=__name__)
|
|
10
|
+
if not root_logger.handlers:
|
|
11
|
+
root_logger.addHandler(logging.NullHandler())
|
|
12
|
+
|
|
13
|
+
__all__ = []
|