upgini 1.2.81a3832.dev15__py3-none-any.whl → 1.2.81a3832.dev18__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.81a3832.dev15"
1
+ __version__ = "1.2.81a3832.dev18"
upgini/autofe/binary.py CHANGED
@@ -146,8 +146,8 @@ class Distance(PandasOperator):
146
146
 
147
147
  # row-wise dot product, handling None values
148
148
  def __dot(self, left: pd.Series, right: pd.Series) -> pd.Series:
149
- left = left.apply(lambda x: np.array(x))
150
- right = right.apply(lambda x: np.array(x))
149
+ left = left.apply(lambda x: np.array(x).astype(np.float64))
150
+ right = right.apply(lambda x: np.array(x).astype(np.float64))
151
151
  res = (left.dropna() * right.dropna()).apply(np.sum)
152
152
  res = res.reindex(left.index.union(right.index))
153
153
  return res
@@ -60,7 +60,7 @@ class EWMAVolatility(VolatilityBase, ParametrizedOperator):
60
60
  return res
61
61
 
62
62
  def _aggregate(self, ts: pd.DataFrame) -> pd.DataFrame:
63
- return ts.apply(self._ewma_vol)
63
+ return ts.apply(self._ewma_vol).iloc[:, [-1]]
64
64
 
65
65
  def _ewma_vol(self, x):
66
66
  x = pd.DataFrame(x).iloc[:, -1]
@@ -453,6 +453,7 @@ class FeaturesEnricher(TransformerMixin):
453
453
  """
454
454
  trace_id = str(uuid.uuid4())
455
455
  start_time = time.time()
456
+ auto_fe_parameters = AutoFEParameters() if auto_fe_parameters is None else auto_fe_parameters
456
457
  search_progress = SearchProgress(0.0, ProgressStage.START_FIT)
457
458
  if progress_callback is not None:
458
459
  progress_callback(search_progress)
@@ -607,6 +608,7 @@ class FeaturesEnricher(TransformerMixin):
607
608
  """
608
609
 
609
610
  self.warning_counter.reset()
611
+ auto_fe_parameters = AutoFEParameters() if auto_fe_parameters is None else auto_fe_parameters
610
612
  trace_id = str(uuid.uuid4())
611
613
  start_time = time.time()
612
614
  with MDC(trace_id=trace_id):
@@ -2728,7 +2730,7 @@ if response.status_code == 200:
2728
2730
  importance_threshold: Optional[float],
2729
2731
  max_features: Optional[int],
2730
2732
  remove_outliers_calc_metrics: Optional[bool],
2731
- auto_fe_parameters: Optional[AutoFEParameters] = None,
2733
+ auto_fe_parameters: AutoFEParameters,
2732
2734
  progress_callback: Optional[Callable[[SearchProgress], Any]] = None,
2733
2735
  search_id_callback: Optional[Callable[[str], Any]] = None,
2734
2736
  ):
upgini/metadata.py CHANGED
@@ -326,7 +326,7 @@ class RuntimeParameters(BaseModel):
326
326
 
327
327
 
328
328
  class AutoFEParameters(BaseModel):
329
- ts_gap_days: Optional[int] = None
329
+ ts_gap_days: int = 0
330
330
 
331
331
 
332
332
  class SearchCustomization(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.81a3832.dev15
3
+ Version: 1.2.81a3832.dev18
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,11 +1,11 @@
1
- upgini/__about__.py,sha256=5fFTJYQ7XW7NIap7AMUPvGMnpxRIIy0tf2GwHB7rqbo,34
1
+ upgini/__about__.py,sha256=vjBPey-ooyQAmDbb8eFdXYeqV6QGv9Md1IwMwQC8PuI,34
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=aspri7ZAgwkNNUiIgQ1GRXvw8XQii3F4RfNXSrF4wrw,35365
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
- upgini/features_enricher.py,sha256=AGF2u2mbFL4KIdqZECiSkGuMhfluamJOveqhYnkKfQM,212614
6
+ upgini/features_enricher.py,sha256=9WxkOBa_8L2FCXYHSEDNGBWDmJ6FhNj2Amgs1OALn_U,212801
7
7
  upgini/http.py,sha256=AfaJ3c8z_tK2hZFEehNybDKE0mp1tYcyAP_l0_p8bLQ,43933
8
- upgini/metadata.py,sha256=Yd6iW2f7Wz6vUkg5uvR4xylN16ANnCKVKqAsAkap7p8,12354
8
+ upgini/metadata.py,sha256=zt_9k0iQbWXuiRZcel4ORNPdQKt6Ou69ucZD_E1Q46o,12341
9
9
  upgini/metrics.py,sha256=nVt4zJKt7y1xD1ga9698QKlJQfXv93lARjUMC1E1_U4,43163
10
10
  upgini/search_task.py,sha256=Q5HjBpLIB3OCxAD1zNv5yQ3ZNJx696WCK_-H35_y7Rs,17912
11
11
  upgini/spinner.py,sha256=4iMd-eIe_BnkqFEMIliULTbj6rNI2HkN_VJ4qYe0cUc,1118
@@ -14,7 +14,7 @@ upgini/ads_management/__init__.py,sha256=qzyisOToVRP-tquAJD1PblZhNtMrOB8FiyF9Jvf
14
14
  upgini/ads_management/ads_manager.py,sha256=igVbN2jz80Umb2BUJixmJVj-zx8unoKpecVo-R-nGdw,2648
15
15
  upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  upgini/autofe/all_operators.py,sha256=rdjF5eaE4bC6Q4eu_el5Z7ekYt8DjOFermz2bePPbUc,333
17
- upgini/autofe/binary.py,sha256=MnQuFiERpocjCPQUjOljlsq5FE-04GPfwtNjzvfNMyU,7671
17
+ upgini/autofe/binary.py,sha256=oOEECc4nRzZN2tYaiqx8F2XHnfWpk1bVvb7ZkZJ0lO8,7709
18
18
  upgini/autofe/date.py,sha256=MM1S-6imNSzCDOhbNnmsc_bwSqUWBcS8vWAdHF8j1kY,11134
19
19
  upgini/autofe/feature.py,sha256=G_YgnsauIoaMgByx9JXDPiKc4nqs0pwWZUfvoIGMKxY,15305
20
20
  upgini/autofe/groupby.py,sha256=IYmQV9uoCdRcpkeWZj_kI3ObzoNCNx3ff3h8sTL01tk,3603
@@ -29,7 +29,7 @@ upgini/autofe/timeseries/delta.py,sha256=h0YhmI1TlPJnjwFpN_GQxLb6r59DQuucnG5tQAX
29
29
  upgini/autofe/timeseries/lag.py,sha256=LfQtg484vuqM0mgY4Wft1swHX_Srq7OKKgZswCXoiXI,1882
30
30
  upgini/autofe/timeseries/roll.py,sha256=zADKXU-eYWQnQ5R3am1yEal8uU6Tm0jLAixwPb_aCHg,2794
31
31
  upgini/autofe/timeseries/trend.py,sha256=K1_iw2ko_LIUU8YCUgrvN3n0MkHtsi7-63-8x9er1k4,2129
32
- upgini/autofe/timeseries/volatility.py,sha256=9shUmIKjpWTHVYjj80YBsk0XheBJ9uBuLv5NW9Mchnk,7953
32
+ upgini/autofe/timeseries/volatility.py,sha256=d1h93wTW4bvGS37bIHBC8AACHknsVAPrsQ4XkxM9aP4,7967
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
35
35
  upgini/mdc/__init__.py,sha256=iHJlXQg6xRM1-ZOUtaPSJqw5SpQDszvxp4LyqviNLIQ,1027
@@ -70,7 +70,7 @@ upgini/utils/target_utils.py,sha256=LRN840dzx78-wg7ftdxAkp2c1eu8-JDvkACiRThm4HE,
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.81a3832.dev15.dist-info/METADATA,sha256=FJEb884wXgIIYNfyxAfG8D1R2w0W-a2u0g4Mimn-1IM,49173
74
- upgini-1.2.81a3832.dev15.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
- upgini-1.2.81a3832.dev15.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
- upgini-1.2.81a3832.dev15.dist-info/RECORD,,
73
+ upgini-1.2.81a3832.dev18.dist-info/METADATA,sha256=y47pfxoThU2CwkhblCZqG2-2xC4H_gGVq82pvqhXKW0,49173
74
+ upgini-1.2.81a3832.dev18.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
+ upgini-1.2.81a3832.dev18.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
+ upgini-1.2.81a3832.dev18.dist-info/RECORD,,