openstef 3.4.8__py3-none-any.whl → 3.4.10__py3-none-any.whl
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/feature_engineering/lag_features.py +1 -1
- openstef/model/standard_deviation_generator.py +3 -2
- {openstef-3.4.8.dist-info → openstef-3.4.10.dist-info}/METADATA +1 -1
- {openstef-3.4.8.dist-info → openstef-3.4.10.dist-info}/RECORD +7 -7
- {openstef-3.4.8.dist-info → openstef-3.4.10.dist-info}/LICENSE +0 -0
- {openstef-3.4.8.dist-info → openstef-3.4.10.dist-info}/WHEEL +0 -0
- {openstef-3.4.8.dist-info → openstef-3.4.10.dist-info}/top_level.txt +0 -0
@@ -43,7 +43,7 @@ def generate_lag_feature_functions(
|
|
43
43
|
for minutes in lag_times_minutes: # Add intraday-lag functions (lags in minutes)
|
44
44
|
|
45
45
|
def func(x, shift=minutes):
|
46
|
-
return x.shift(freq="
|
46
|
+
return x.shift(freq="min", periods=1 * shift)
|
47
47
|
|
48
48
|
new = {"T-" + str(int(minutes)) + "min": func}
|
49
49
|
lag_functions.update(new)
|
@@ -72,8 +72,9 @@ class StandardDeviationGenerator:
|
|
72
72
|
# For the time starts with 00, 01, 02, etc. TODO (MAKE MORE ELEGANT SOLUTION THAN A LOOP)
|
73
73
|
for hour in range(24):
|
74
74
|
hour_error = error[error.index == hour]
|
75
|
-
|
76
|
-
result[
|
75
|
+
|
76
|
+
result.loc[hour, "stdev"] = np.std(hour_error)
|
77
|
+
result.loc[hour, "hour"] = hour
|
77
78
|
|
78
79
|
result = result.astype("float")
|
79
80
|
|
@@ -35,7 +35,7 @@ openstef/feature_engineering/feature_applicator.py,sha256=FpEEirbOTuOKZipoGHYliK
|
|
35
35
|
openstef/feature_engineering/general.py,sha256=igAPyejYN5d09-a_c53C79a0A4cHjvMCa47KC4IfgCo,4072
|
36
36
|
openstef/feature_engineering/historic_features.py,sha256=aDxoS42ndUmLmwqpII8rZ_-L86NFer-Gw_fGf0TAobU,1215
|
37
37
|
openstef/feature_engineering/holiday_features.py,sha256=3Ff4Lkm26h8wJVoBplUewt4HfsvOUS9zj0x0MxewIm8,7842
|
38
|
-
openstef/feature_engineering/lag_features.py,sha256=
|
38
|
+
openstef/feature_engineering/lag_features.py,sha256=Dr6qS8UhdgEHPZZSe-w6ibtjl_lcbcQohhqdZN9fqEU,5652
|
39
39
|
openstef/feature_engineering/weather_features.py,sha256=wy3KFXUIIwSydFJZpiejsJMwURtDpv9l0HBHu-uLAGQ,15561
|
40
40
|
openstef/metrics/__init__.py,sha256=bIyGTSA4V5VoOLTwdaiJJAnozmpSzvQooVYlsf8H4eU,163
|
41
41
|
openstef/metrics/figure.py,sha256=NPJGI4FygjSnOQuL8qCbB87-T31q6EkewkbVmpLwmnk,9657
|
@@ -49,7 +49,7 @@ openstef/model/model_creator.py,sha256=U1Lw4HFyajfxQ2o5lEnCxnmRC62DEu5PBHXrm_jnE
|
|
49
49
|
openstef/model/objective.py,sha256=qBZGij4P2uZXFt-1x4MxCkIRmpVY3TJoo4Mycxu9dO8,15433
|
50
50
|
openstef/model/objective_creator.py,sha256=OiPPFSiSu7z9K_983ib5iqhhu6_9tt7iyTyKNZ2Iz68,2057
|
51
51
|
openstef/model/serializer.py,sha256=Q7pKkA-K1bszER_tkOWhvwTQsj6-qZoX5zaXIemRKGs,16934
|
52
|
-
openstef/model/standard_deviation_generator.py,sha256=
|
52
|
+
openstef/model/standard_deviation_generator.py,sha256=Od9bzXi2TLb1v8Nz-VhBMZHSopWH6ssaDe8gYLlqO1I,2911
|
53
53
|
openstef/model/metamodels/__init__.py,sha256=bIyGTSA4V5VoOLTwdaiJJAnozmpSzvQooVYlsf8H4eU,163
|
54
54
|
openstef/model/metamodels/grouped_regressor.py,sha256=yMN_a6TnQSyFaqlB_6Nifq-ydpb5hs6w_b97IaBbHj4,8337
|
55
55
|
openstef/model/metamodels/missing_values_handler.py,sha256=veyvYZHhKvlYZxaUpxRQ7XoE033_3Lcg9LrbuKchlOk,5241
|
@@ -97,8 +97,8 @@ openstef/tasks/utils/predictionjobloop.py,sha256=Ysy3zF5lzPMz_asYDKeF5m0qgVT3tCt
|
|
97
97
|
openstef/tasks/utils/taskcontext.py,sha256=yI6TntOkZcW8JiNVuw4uJIigEBL0_iIrkPklF4ZeCX4,5401
|
98
98
|
openstef/validation/__init__.py,sha256=bIyGTSA4V5VoOLTwdaiJJAnozmpSzvQooVYlsf8H4eU,163
|
99
99
|
openstef/validation/validation.py,sha256=SaI-Mff9UOHQPnQ2jodXzZAVZilc-2AXZsPpSjDRqAg,10346
|
100
|
-
openstef-3.4.
|
101
|
-
openstef-3.4.
|
102
|
-
openstef-3.4.
|
103
|
-
openstef-3.4.
|
104
|
-
openstef-3.4.
|
100
|
+
openstef-3.4.10.dist-info/LICENSE,sha256=7Pm2fWFFHHUG5lDHed1vl5CjzxObIXQglnYsEdtjo_k,14907
|
101
|
+
openstef-3.4.10.dist-info/METADATA,sha256=s2gQqhwp9LXyxL0nt0jOhzguXJjHREZp5XHYJ_hj11o,7872
|
102
|
+
openstef-3.4.10.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
103
|
+
openstef-3.4.10.dist-info/top_level.txt,sha256=kD0H4PqrQoncZ957FvqwfBxa89kTrun4Z_RAPs_HhLs,9
|
104
|
+
openstef-3.4.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|