openstef 3.4.35__tar.gz → 3.4.39__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.
Files changed (102) hide show
  1. {openstef-3.4.35 → openstef-3.4.39}/PKG-INFO +15 -3
  2. {openstef-3.4.35 → openstef-3.4.39}/README.md +14 -2
  3. openstef-3.4.39/openstef/data/dutch_holidays.csv +1759 -0
  4. {openstef-3.4.35 → openstef-3.4.39}/openstef/enums.py +1 -2
  5. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/holiday_features.py +3 -3
  6. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/missing_values_transformer.py +42 -5
  7. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/model_creator.py +21 -20
  8. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/objective.py +7 -7
  9. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/objective_creator.py +11 -11
  10. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/flatliner.py +1 -6
  11. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/linear_quantile.py +7 -2
  12. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/create_component_forecast.py +13 -6
  13. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/calculate_kpi.py +3 -3
  14. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/create_components_forecast.py +2 -2
  15. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/create_forecast.py +2 -2
  16. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/optimize_hyperparameters.py +2 -2
  17. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/split_forecast.py +2 -2
  18. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/train_model.py +2 -2
  19. {openstef-3.4.35 → openstef-3.4.39}/openstef.egg-info/PKG-INFO +15 -3
  20. {openstef-3.4.35 → openstef-3.4.39}/openstef.egg-info/SOURCES.txt +2 -2
  21. {openstef-3.4.35 → openstef-3.4.39}/setup.py +1 -1
  22. openstef-3.4.35/openstef/data/dutch_holidays_2020-2022.csv +0 -831
  23. {openstef-3.4.35 → openstef-3.4.39}/LICENSE +0 -0
  24. {openstef-3.4.35 → openstef-3.4.39}/openstef/__init__.py +0 -0
  25. {openstef-3.4.35 → openstef-3.4.39}/openstef/__main__.py +0 -0
  26. {openstef-3.4.35 → openstef-3.4.39}/openstef/app_settings.py +0 -0
  27. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z +0 -0
  28. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z.license +0 -0
  29. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md +0 -0
  30. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md.license +0 -0
  31. /openstef-3.4.35/openstef/data/dutch_holidays_2020-2022.csv.license → /openstef-3.4.39/openstef/data/dutch_holidays.csv.license +0 -0
  32. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/pv_single_coefs.csv +0 -0
  33. {openstef-3.4.35 → openstef-3.4.39}/openstef/data/pv_single_coefs.csv.license +0 -0
  34. {openstef-3.4.35 → openstef-3.4.39}/openstef/data_classes/__init__.py +0 -0
  35. {openstef-3.4.35 → openstef-3.4.39}/openstef/data_classes/data_prep.py +0 -0
  36. {openstef-3.4.35 → openstef-3.4.39}/openstef/data_classes/model_specifications.py +0 -0
  37. {openstef-3.4.35 → openstef-3.4.39}/openstef/data_classes/prediction_job.py +0 -0
  38. {openstef-3.4.35 → openstef-3.4.39}/openstef/data_classes/split_function.py +0 -0
  39. {openstef-3.4.35 → openstef-3.4.39}/openstef/exceptions.py +0 -0
  40. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/__init__.py +0 -0
  41. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/apply_features.py +0 -0
  42. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/data_preparation.py +0 -0
  43. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/feature_adder.py +0 -0
  44. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/feature_applicator.py +0 -0
  45. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/general.py +0 -0
  46. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/lag_features.py +0 -0
  47. {openstef-3.4.35 → openstef-3.4.39}/openstef/feature_engineering/weather_features.py +0 -0
  48. {openstef-3.4.35 → openstef-3.4.39}/openstef/metrics/__init__.py +0 -0
  49. {openstef-3.4.35 → openstef-3.4.39}/openstef/metrics/figure.py +0 -0
  50. {openstef-3.4.35 → openstef-3.4.39}/openstef/metrics/metrics.py +0 -0
  51. {openstef-3.4.35 → openstef-3.4.39}/openstef/metrics/reporter.py +0 -0
  52. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/__init__.py +0 -0
  53. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/basecase.py +0 -0
  54. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/confidence_interval_applicator.py +0 -0
  55. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/fallback.py +0 -0
  56. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/metamodels/__init__.py +0 -0
  57. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/metamodels/grouped_regressor.py +0 -0
  58. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/metamodels/missing_values_handler.py +0 -0
  59. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/__init__.py +0 -0
  60. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/arima.py +0 -0
  61. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/custom_regressor.py +0 -0
  62. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/dazls.py +0 -0
  63. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/lgbm.py +0 -0
  64. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/linear.py +0 -0
  65. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/regressor.py +0 -0
  66. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/xgb.py +0 -0
  67. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/xgb_multioutput_quantile.py +0 -0
  68. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/regressors/xgb_quantile.py +0 -0
  69. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/serializer.py +0 -0
  70. {openstef-3.4.35 → openstef-3.4.39}/openstef/model/standard_deviation_generator.py +0 -0
  71. {openstef-3.4.35 → openstef-3.4.39}/openstef/model_selection/__init__.py +0 -0
  72. {openstef-3.4.35 → openstef-3.4.39}/openstef/model_selection/model_selection.py +0 -0
  73. {openstef-3.4.35 → openstef-3.4.39}/openstef/monitoring/__init__.py +0 -0
  74. {openstef-3.4.35 → openstef-3.4.39}/openstef/monitoring/performance_meter.py +0 -0
  75. {openstef-3.4.35 → openstef-3.4.39}/openstef/monitoring/teams.py +0 -0
  76. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/__init__.py +0 -0
  77. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/create_basecase_forecast.py +0 -0
  78. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/create_forecast.py +0 -0
  79. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/optimize_hyperparameters.py +0 -0
  80. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/train_create_forecast_backtest.py +0 -0
  81. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/train_model.py +0 -0
  82. {openstef-3.4.35 → openstef-3.4.39}/openstef/pipeline/utils.py +0 -0
  83. {openstef-3.4.35 → openstef-3.4.39}/openstef/postprocessing/__init__.py +0 -0
  84. {openstef-3.4.35 → openstef-3.4.39}/openstef/postprocessing/postprocessing.py +0 -0
  85. {openstef-3.4.35 → openstef-3.4.39}/openstef/preprocessing/__init__.py +0 -0
  86. {openstef-3.4.35 → openstef-3.4.39}/openstef/preprocessing/preprocessing.py +0 -0
  87. {openstef-3.4.35 → openstef-3.4.39}/openstef/settings.py +0 -0
  88. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/__init__.py +0 -0
  89. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/create_basecase_forecast.py +0 -0
  90. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/create_solar_forecast.py +0 -0
  91. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/create_wind_forecast.py +0 -0
  92. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/utils/__init__.py +0 -0
  93. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/utils/dependencies.py +0 -0
  94. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/utils/predictionjobloop.py +0 -0
  95. {openstef-3.4.35 → openstef-3.4.39}/openstef/tasks/utils/taskcontext.py +0 -0
  96. {openstef-3.4.35 → openstef-3.4.39}/openstef/validation/__init__.py +0 -0
  97. {openstef-3.4.35 → openstef-3.4.39}/openstef/validation/validation.py +0 -0
  98. {openstef-3.4.35 → openstef-3.4.39}/openstef.egg-info/dependency_links.txt +0 -0
  99. {openstef-3.4.35 → openstef-3.4.39}/openstef.egg-info/requires.txt +0 -0
  100. {openstef-3.4.35 → openstef-3.4.39}/openstef.egg-info/top_level.txt +0 -0
  101. {openstef-3.4.35 → openstef-3.4.39}/pyproject.toml +0 -0
  102. {openstef-3.4.35 → openstef-3.4.39}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openstef
3
- Version: 3.4.35
3
+ Version: 3.4.39
4
4
  Summary: Open short term energy forecaster
5
5
  Home-page: https://github.com/OpenSTEF/openstef
6
6
  Author: Alliander N.V
@@ -63,7 +63,7 @@ OpenSTEF is a Python package designed for generating short-term forecasts in the
63
63
  - [OpenSTEF](#openstef)
64
64
  - [Table of contents](#table-of-contents)
65
65
  - [External information sources](#external-information-sources)
66
- - [Installation](#install)
66
+ - [Installation](#installation)
67
67
  - [Usage](#usage)
68
68
  - [Example notebooks](#example-notebooks)
69
69
  - [Reference Implementation](#reference-implementation)
@@ -78,7 +78,6 @@ OpenSTEF is a Python package designed for generating short-term forecasts in the
78
78
  - [Linux Foundation project page](https://www.lfenergy.org/projects/openstef/);
79
79
  - [Documentation on dashboard](https://raw.githack.com/OpenSTEF/.github/main/profile/html/openstef_dashboard_doc.html);
80
80
  - [Video about OpenSTEF](https://www.lfenergy.org/forecasting-to-create-a-more-resilient-optimized-grid/);
81
- - [Teams channel](https://teams.microsoft.com/l/team/19%3ac08a513650524fc988afb296cd0358cc%40thread.tacv2/conversations?groupId=bfcb763a-3a97-4938-81d7-b14512aa537d&tenantId=697f104b-d7cb-48c8-ac9f-bd87105bafdc)
82
81
 
83
82
  # Installation
84
83
 
@@ -96,6 +95,19 @@ pip install pywin32==300
96
95
  ```
97
96
  For more information on this issue see the [readme of pywin32](https://github.com/mhammond/pywin32#installing-via-pip) or [this Github issue](https://github.com/mhammond/pywin32/issues/1865#issue-1212752696).
98
97
 
98
+ ## Remark regarding installation on Apple Silicon
99
+
100
+ If you want to install the `openstef` package on Apple Silicon (Mac with M1-chip or newer), you can encounter issues with the dependencies, such as `xgboost`. Solution:
101
+
102
+ 1. Run `brew install libomp` (if you haven’t installed Homebrew: [follow instructions here](https://brew.sh/))
103
+ 2. If your interpreter can not find the `libomp` installation in `/usr/local/bin`, it is probably in `/opt/brew/Cellar`. Run:
104
+ ```sh
105
+ mkdir -p /usr/local/opt/libomp/
106
+ ln -s /opt/brew/Cellar/libomp/{your_version}/lib /usr/local/opt/libomp/lib
107
+ ```
108
+ 3. Uninstall `xgboost` with `pip` (`pip uninstall xgboost`) and install with `conda-forge` (`conda install -c conda-forge xgboost`)
109
+ 4. If you encounter similar issues with `lightgbm`: uninstall `lightgbm` with `pip` (`pip uninstall lightgbm`) and install later version with `conda-forge` (`conda install -c conda-forge 'lightgbm>=4.2.0'`)
110
+
99
111
  # Usage
100
112
 
101
113
  ## Example notebooks
@@ -26,7 +26,7 @@ OpenSTEF is a Python package designed for generating short-term forecasts in the
26
26
  - [OpenSTEF](#openstef)
27
27
  - [Table of contents](#table-of-contents)
28
28
  - [External information sources](#external-information-sources)
29
- - [Installation](#install)
29
+ - [Installation](#installation)
30
30
  - [Usage](#usage)
31
31
  - [Example notebooks](#example-notebooks)
32
32
  - [Reference Implementation](#reference-implementation)
@@ -41,7 +41,6 @@ OpenSTEF is a Python package designed for generating short-term forecasts in the
41
41
  - [Linux Foundation project page](https://www.lfenergy.org/projects/openstef/);
42
42
  - [Documentation on dashboard](https://raw.githack.com/OpenSTEF/.github/main/profile/html/openstef_dashboard_doc.html);
43
43
  - [Video about OpenSTEF](https://www.lfenergy.org/forecasting-to-create-a-more-resilient-optimized-grid/);
44
- - [Teams channel](https://teams.microsoft.com/l/team/19%3ac08a513650524fc988afb296cd0358cc%40thread.tacv2/conversations?groupId=bfcb763a-3a97-4938-81d7-b14512aa537d&tenantId=697f104b-d7cb-48c8-ac9f-bd87105bafdc)
45
44
 
46
45
  # Installation
47
46
 
@@ -59,6 +58,19 @@ pip install pywin32==300
59
58
  ```
60
59
  For more information on this issue see the [readme of pywin32](https://github.com/mhammond/pywin32#installing-via-pip) or [this Github issue](https://github.com/mhammond/pywin32/issues/1865#issue-1212752696).
61
60
 
61
+ ## Remark regarding installation on Apple Silicon
62
+
63
+ If you want to install the `openstef` package on Apple Silicon (Mac with M1-chip or newer), you can encounter issues with the dependencies, such as `xgboost`. Solution:
64
+
65
+ 1. Run `brew install libomp` (if you haven’t installed Homebrew: [follow instructions here](https://brew.sh/))
66
+ 2. If your interpreter can not find the `libomp` installation in `/usr/local/bin`, it is probably in `/opt/brew/Cellar`. Run:
67
+ ```sh
68
+ mkdir -p /usr/local/opt/libomp/
69
+ ln -s /opt/brew/Cellar/libomp/{your_version}/lib /usr/local/opt/libomp/lib
70
+ ```
71
+ 3. Uninstall `xgboost` with `pip` (`pip uninstall xgboost`) and install with `conda-forge` (`conda install -c conda-forge xgboost`)
72
+ 4. If you encounter similar issues with `lightgbm`: uninstall `lightgbm` with `pip` (`pip uninstall lightgbm`) and install later version with `conda-forge` (`conda install -c conda-forge 'lightgbm>=4.2.0'`)
73
+
62
74
  # Usage
63
75
 
64
76
  ## Example notebooks