openstef 3.4.32__tar.gz → 3.4.33__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-3.4.32 → openstef-3.4.33}/PKG-INFO +1 -1
- openstef-3.4.33/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z +0 -0
- openstef-3.4.33/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md +18 -0
- openstef-3.4.33/openstef/data/dutch_holidays_2020-2022.csv.license +3 -0
- openstef-3.4.33/openstef/data/pv_single_coefs.csv.license +3 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/create_basecase_forecast.py +2 -2
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/create_components_forecast.py +2 -2
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/create_forecast.py +2 -2
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/create_solar_forecast.py +2 -2
- {openstef-3.4.32 → openstef-3.4.33}/openstef.egg-info/PKG-INFO +1 -1
- {openstef-3.4.32 → openstef-3.4.33}/openstef.egg-info/SOURCES.txt +4 -0
- {openstef-3.4.32 → openstef-3.4.33}/setup.py +2 -2
- {openstef-3.4.32 → openstef-3.4.33}/LICENSE +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/README.md +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/__main__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/app_settings.py +0 -0
- /openstef-3.4.32/openstef/data/dutch_holidays_2020-2022.csv.license → /openstef-3.4.33/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z.license +0 -0
- /openstef-3.4.32/openstef/data/pv_single_coefs.csv.license → /openstef-3.4.33/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md.license +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data/dutch_holidays_2020-2022.csv +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data/pv_single_coefs.csv +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data_classes/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data_classes/data_prep.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data_classes/model_specifications.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data_classes/prediction_job.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/data_classes/split_function.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/enums.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/exceptions.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/apply_features.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/data_preparation.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/feature_adder.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/feature_applicator.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/general.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/holiday_features.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/lag_features.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/missing_values_transformer.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/weather_features.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/metrics/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/metrics/figure.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/metrics/metrics.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/metrics/reporter.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/basecase.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/confidence_interval_applicator.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/fallback.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/metamodels/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/metamodels/grouped_regressor.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/metamodels/missing_values_handler.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/model_creator.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/objective.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/objective_creator.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/arima.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/custom_regressor.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/dazls.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/flatliner.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/lgbm.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/linear.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/linear_quantile.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/regressor.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/xgb.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/xgb_multioutput_quantile.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/regressors/xgb_quantile.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/serializer.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model/standard_deviation_generator.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model_selection/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/model_selection/model_selection.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/monitoring/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/monitoring/performance_meter.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/monitoring/teams.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/create_basecase_forecast.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/create_component_forecast.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/create_forecast.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/optimize_hyperparameters.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/train_create_forecast_backtest.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/train_model.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/pipeline/utils.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/postprocessing/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/postprocessing/postprocessing.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/preprocessing/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/preprocessing/preprocessing.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/settings.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/calculate_kpi.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/create_wind_forecast.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/optimize_hyperparameters.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/split_forecast.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/train_model.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/utils/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/utils/dependencies.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/utils/predictionjobloop.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/tasks/utils/taskcontext.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/validation/__init__.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef/validation/validation.py +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef.egg-info/dependency_links.txt +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef.egg-info/requires.txt +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/openstef.egg-info/top_level.txt +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/pyproject.toml +0 -0
- {openstef-3.4.32 → openstef-3.4.33}/setup.cfg +0 -0
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
# Model details : dazls\_model\_baseline\_model
|
3
|
+
|
4
|
+
## Description
|
5
|
+
**Model Name**: dazls\_model\_baseline\_model
|
6
|
+
|
7
|
+
**Author**: KTP, Alliander
|
8
|
+
|
9
|
+
**Model type**: Energy splitting model
|
10
|
+
|
11
|
+
**Model Architecture**: LinearRegression
|
12
|
+
|
13
|
+
**Date**: 2024-04-26
|
14
|
+
|
15
|
+
## Intended use
|
16
|
+
This is a DAZLs model aimed at determining the energy splits for substations.
|
17
|
+
Each of these splits are determined based on a set of features that are available in production,
|
18
|
+
and in this case have their origin in the Dutch energy grid.********************
|
@@ -97,7 +97,7 @@ def create_basecase_forecast_task(
|
|
97
97
|
context.database.write_forecast(basecase_forecast, t_ahead_series=True)
|
98
98
|
|
99
99
|
|
100
|
-
def main(config: object = None, database: object = None):
|
100
|
+
def main(config: object = None, database: object = None, **kwargs):
|
101
101
|
taskname = Path(__file__).name.replace(".py", "")
|
102
102
|
|
103
103
|
if database is None or config is None:
|
@@ -110,7 +110,7 @@ def main(config: object = None, database: object = None):
|
|
110
110
|
model_type = ["xgb", "xgb_quantile", "lgb"]
|
111
111
|
|
112
112
|
PredictionJobLoop(context, model_type=model_type).map(
|
113
|
-
create_basecase_forecast_task, context
|
113
|
+
create_basecase_forecast_task, context, **kwargs
|
114
114
|
)
|
115
115
|
|
116
116
|
|
@@ -140,7 +140,7 @@ def create_components_forecast_task(
|
|
140
140
|
)
|
141
141
|
|
142
142
|
|
143
|
-
def main(config: object = None, database: object = None):
|
143
|
+
def main(config: object = None, database: object = None, **kwargs):
|
144
144
|
taskname = Path(__file__).name.replace(".py", "")
|
145
145
|
|
146
146
|
if database is None or config is None:
|
@@ -155,7 +155,7 @@ def main(config: object = None, database: object = None):
|
|
155
155
|
PredictionJobLoop(
|
156
156
|
context,
|
157
157
|
model_type=model_type,
|
158
|
-
).map(create_components_forecast_task, context)
|
158
|
+
).map(create_components_forecast_task, context, **kwargs)
|
159
159
|
|
160
160
|
|
161
161
|
if __name__ == "__main__":
|
@@ -118,7 +118,7 @@ def create_forecast_task(
|
|
118
118
|
context.database.write_forecast(forecast, t_ahead_series=True)
|
119
119
|
|
120
120
|
|
121
|
-
def main(model_type=None, config=None, database=None):
|
121
|
+
def main(model_type=None, config=None, database=None, **kwargs):
|
122
122
|
taskname = Path(__file__).name.replace(".py", "")
|
123
123
|
|
124
124
|
if database is None or config is None:
|
@@ -132,7 +132,7 @@ def main(model_type=None, config=None, database=None):
|
|
132
132
|
model_type = [ml.value for ml in MLModelType]
|
133
133
|
|
134
134
|
PredictionJobLoop(context, model_type=model_type).map(
|
135
|
-
create_forecast_task, context
|
135
|
+
create_forecast_task, context, **kwargs
|
136
136
|
)
|
137
137
|
|
138
138
|
|
@@ -216,7 +216,7 @@ def fides(data: pd.DataFrame, all_forecasts: bool = False):
|
|
216
216
|
return forecast
|
217
217
|
|
218
218
|
|
219
|
-
def main(config=None, database=None):
|
219
|
+
def main(config=None, database=None, **kwargs):
|
220
220
|
taskname = Path(__file__).name.replace(".py", "")
|
221
221
|
|
222
222
|
if database is None or config is None:
|
@@ -245,7 +245,7 @@ def main(config=None, database=None):
|
|
245
245
|
)
|
246
246
|
|
247
247
|
PredictionJobLoop(context, prediction_jobs=prediction_jobs).map(
|
248
|
-
make_solar_prediction_pj, context
|
248
|
+
make_solar_prediction_pj, context, kwargs=kwargs
|
249
249
|
)
|
250
250
|
|
251
251
|
|
@@ -18,6 +18,10 @@ openstef/data/dutch_holidays_2020-2022.csv
|
|
18
18
|
openstef/data/dutch_holidays_2020-2022.csv.license
|
19
19
|
openstef/data/pv_single_coefs.csv
|
20
20
|
openstef/data/pv_single_coefs.csv.license
|
21
|
+
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z
|
22
|
+
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z.license
|
23
|
+
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md
|
24
|
+
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md.license
|
21
25
|
openstef/data_classes/__init__.py
|
22
26
|
openstef/data_classes/data_prep.py
|
23
27
|
openstef/data_classes/model_specifications.py
|
@@ -29,7 +29,7 @@ def read_long_description_from_readme():
|
|
29
29
|
|
30
30
|
setup(
|
31
31
|
name="openstef",
|
32
|
-
version="3.4.
|
32
|
+
version="3.4.33",
|
33
33
|
packages=find_packages(include=["openstef", "openstef.*"]),
|
34
34
|
description="Open short term energy forecaster",
|
35
35
|
long_description=read_long_description_from_readme(),
|
@@ -43,7 +43,7 @@ setup(
|
|
43
43
|
# for more information
|
44
44
|
package_data={
|
45
45
|
# Include anything in the data directory
|
46
|
-
"openstef": ["data/*", "data
|
46
|
+
"openstef": ["data/*", "data/**/*", "*.license"]
|
47
47
|
},
|
48
48
|
python_requires=">=3.9.0",
|
49
49
|
install_requires=read_requirements_from_file(),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openstef-3.4.32 → openstef-3.4.33}/openstef/feature_engineering/missing_values_transformer.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|