upgini 1.2.65a3818.dev6__py3-none-any.whl → 1.2.65a3818.dev8__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.
Potentially problematic release.
This version of upgini might be problematic. Click here for more details.
- upgini/__about__.py +1 -1
- upgini/autofe/timeseries/cross.py +1 -1
- upgini/autofe/timeseries/trend.py +5 -2
- {upgini-1.2.65a3818.dev6.dist-info → upgini-1.2.65a3818.dev8.dist-info}/METADATA +1 -1
- {upgini-1.2.65a3818.dev6.dist-info → upgini-1.2.65a3818.dev8.dist-info}/RECORD +7 -7
- {upgini-1.2.65a3818.dev6.dist-info → upgini-1.2.65a3818.dev8.dist-info}/WHEEL +0 -0
- {upgini-1.2.65a3818.dev6.dist-info → upgini-1.2.65a3818.dev8.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.65a3818.
|
|
1
|
+
__version__ = "1.2.65a3818.dev8"
|
|
@@ -122,7 +122,7 @@ class CrossSeriesInteraction(TimeSeriesBase, ParametrizedOperator):
|
|
|
122
122
|
return res
|
|
123
123
|
|
|
124
124
|
def _get_mask(self, data: List[pd.Series], descriptor: List[str]) -> pd.Series:
|
|
125
|
-
mask = np.logical_and.reduce([data[i] == v for i, v in zip(self.descriptor_indices, descriptor)])
|
|
125
|
+
mask = np.logical_and.reduce([data[i].astype(str) == v for i, v in zip(self.descriptor_indices, descriptor)])
|
|
126
126
|
return mask
|
|
127
127
|
|
|
128
128
|
def _extract_series(self, data: List[pd.Series], mask: pd.Series) -> pd.Series:
|
|
@@ -56,6 +56,9 @@ class TrendCoefficient(TimeSeriesBase):
|
|
|
56
56
|
x.iloc[:, -1].resample(f"{self.step_size}{self.step_unit}").fillna(method="ffill").fillna(method="bfill")
|
|
57
57
|
)
|
|
58
58
|
idx = np.arange(len(resampled))
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
try:
|
|
60
|
+
coeffs = np.polyfit(idx, resampled, 1)
|
|
61
|
+
x.iloc[:, -1] = coeffs[0]
|
|
62
|
+
except np.linalg.LinAlgError:
|
|
63
|
+
x.iloc[:, -1] = 0
|
|
61
64
|
return x.iloc[:, -1] if return_series else x
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: upgini
|
|
3
|
-
Version: 1.2.65a3818.
|
|
3
|
+
Version: 1.2.65a3818.dev8
|
|
4
4
|
Summary: Intelligent data search & enrichment for Machine Learning
|
|
5
5
|
Project-URL: Bug Reports, https://github.com/upgini/upgini/issues
|
|
6
6
|
Project-URL: Homepage, https://upgini.com/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
upgini/__about__.py,sha256=
|
|
1
|
+
upgini/__about__.py,sha256=ppTN7KlBR0h9HkFUWlB2i2nQBD3csKOHkNKckVEetoo,33
|
|
2
2
|
upgini/__init__.py,sha256=LXSfTNU0HnlOkE69VCxkgIKDhWP-JFo_eBQ71OxTr5Y,261
|
|
3
3
|
upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
|
|
4
4
|
upgini/dataset.py,sha256=OGjpeFHbj3lWiZTOHTpWEoMMDmFY1FlNC44FKktoZvU,34956
|
|
@@ -24,11 +24,11 @@ upgini/autofe/unary.py,sha256=yVgPvtfnPSOhrii0YgezddmgWPwyOBCR0JutaIkdTTc,4658
|
|
|
24
24
|
upgini/autofe/vector.py,sha256=l0KdKg-txlZxDSE4hPPfCtfGQofYbl7oaABPr830sPI,667
|
|
25
25
|
upgini/autofe/timeseries/__init__.py,sha256=PGwwDAMwvkXl3el12tXVEmZUgDUvlmIPlXtROm6bD18,738
|
|
26
26
|
upgini/autofe/timeseries/base.py,sha256=T9Ec8LKJbiwTUGGsd_xhM0U0NUJblqmKchkzUI1sK88,3755
|
|
27
|
-
upgini/autofe/timeseries/cross.py,sha256=
|
|
27
|
+
upgini/autofe/timeseries/cross.py,sha256=Sh5hAXZFWKaFRqf_JGODu9pWO2tmuV5VKyK9eX3i7-I,4931
|
|
28
28
|
upgini/autofe/timeseries/delta.py,sha256=h0YhmI1TlPJnjwFpN_GQxLb6r59DQuucnG5tQAXSgjU,3520
|
|
29
29
|
upgini/autofe/timeseries/lag.py,sha256=LfQtg484vuqM0mgY4Wft1swHX_Srq7OKKgZswCXoiXI,1882
|
|
30
30
|
upgini/autofe/timeseries/roll.py,sha256=bNFMDszSYTWvB7EyhHbRY1DJqzSURvHlPAcBebt0y0Y,2878
|
|
31
|
-
upgini/autofe/timeseries/trend.py,sha256=
|
|
31
|
+
upgini/autofe/timeseries/trend.py,sha256=9p2Q5ByAi6cx9RH9teBTe8FyjSzqthznC2Lo5dsJ0ho,2051
|
|
32
32
|
upgini/autofe/timeseries/volatility.py,sha256=9shUmIKjpWTHVYjj80YBsk0XheBJ9uBuLv5NW9Mchnk,7953
|
|
33
33
|
upgini/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
upgini/data_source/data_source_publisher.py,sha256=4S9qwlAklD8vg9tUU_c1pHE2_glUHAh15-wr5hMwKFw,22879
|
|
@@ -70,7 +70,7 @@ upgini/utils/target_utils.py,sha256=b1GzO8_gMcwXSZ2v98CY50MJJBzKbWHId_BJGybXfkM,
|
|
|
70
70
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
|
71
71
|
upgini/utils/ts_utils.py,sha256=26vhC0pN7vLXK6R09EEkMK3Lwb9IVPH7LRdqFIQ3kPs,1383
|
|
72
72
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
|
73
|
-
upgini-1.2.65a3818.
|
|
74
|
-
upgini-1.2.65a3818.
|
|
75
|
-
upgini-1.2.65a3818.
|
|
76
|
-
upgini-1.2.65a3818.
|
|
73
|
+
upgini-1.2.65a3818.dev8.dist-info/METADATA,sha256=b8dRU2VaTQK2nhqRZBKHnEW85P2Lu2RmC5xdFnauXTA,49123
|
|
74
|
+
upgini-1.2.65a3818.dev8.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
|
75
|
+
upgini-1.2.65a3818.dev8.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
76
|
+
upgini-1.2.65a3818.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|