upgini 1.1.282a3418.post2__py3-none-any.whl → 1.1.282a3418.post3__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.1.282a3418-2"
1
+ __version__ = "1.1.282a3418-3"
upgini/autofe/date.py CHANGED
@@ -1,4 +1,3 @@
1
- from datetime import date
2
1
  from typing import Any, Dict, List, Optional, Union
3
2
 
4
3
  import numpy as np
@@ -3266,10 +3266,16 @@ class FeaturesEnricher(TransformerMixin):
3266
3266
 
3267
3267
  descriptions = []
3268
3268
  for m in autofe_meta:
3269
- autofe_feature = Feature.from_formula(m.formula)
3270
3269
  orig_to_hashed = {base_column.original_name: base_column.hashed_name for base_column in m.base_columns}
3271
- autofe_feature.rename_columns(orig_to_hashed)
3272
- autofe_feature.set_display_index(m.display_index)
3270
+
3271
+ autofe_feature = (
3272
+ Feature.from_formula(m.formula)
3273
+ .set_display_index(m.display_index)
3274
+ .set_alias(m.alias)
3275
+ .set_op_params(m.operator_params or {})
3276
+ .rename_columns(orig_to_hashed)
3277
+ )
3278
+
3273
3279
  if autofe_feature.op.is_vector:
3274
3280
  continue
3275
3281
 
upgini/metadata.py CHANGED
@@ -256,9 +256,11 @@ class BaseColumnMetadata(BaseModel):
256
256
 
257
257
 
258
258
  class GeneratedFeatureMetadata(BaseModel):
259
- formula: str # on hashed names
259
+ alias: Optional[str]
260
+ formula: str
260
261
  display_index: str
261
262
  base_columns: List[BaseColumnMetadata]
263
+ operator_params: Optional[Dict[str, str]]
262
264
 
263
265
 
264
266
  class ProviderTaskMetadataV2(BaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.282a3418.post2
3
+ Version: 1.1.282a3418.post3
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=Enn127dFkXgCRELxuH2LQtSbMgcCcZZbvp1uqqge82o,31
1
+ upgini/__about__.py,sha256=UWj0vKkKvP9Cu_tYbFWFIdRBjiAcKLIfcNwhmbKYIHI,31
2
2
  upgini/__init__.py,sha256=asENHgEVHQBIkV-e_0IhE_ZWqkCG6398U3ZLrNzAH6k,407
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=7TLVVhGtjgx_9yaiaIUK3kZSe_R9wg5dY0d4F5qCGM4,45636
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
- upgini/features_enricher.py,sha256=2BFtU8TxIyP1cdyoct8q3ULSaStw534kwi-3syYMQ-Y,176844
6
+ upgini/features_enricher.py,sha256=cEv1veAlJe0iz9-myz46Ecz8ii6I-v7Qr2ksaFxEsZw,176966
7
7
  upgini/http.py,sha256=khrYSldpY-HbVLCcApfV1BjBFK6Uyuatb4colKybxgY,42301
8
- upgini/metadata.py,sha256=CFJekYGD7Ep7pRFH7wCEcsXS4bz83do33FNmtcCY9P4,9729
8
+ upgini/metadata.py,sha256=qDAIO7NLSSQp_XiXCv3U4XJTLO0KH3YuQ8lvCLYPqzs,9781
9
9
  upgini/metrics.py,sha256=tTXAgjEuoo_vDe4n-R0AFK95IIx_7kugIJJJv2Hr_1o,30128
10
10
  upgini/search_task.py,sha256=LtRJ9bCPjMo1gJ-sUDKERhDwGcWKImrzwVFHjkMSQHQ,17071
11
11
  upgini/spinner.py,sha256=4iMd-eIe_BnkqFEMIliULTbj6rNI2HkN_VJ4qYe0cUc,1118
@@ -15,7 +15,7 @@ upgini/ads_management/ads_manager.py,sha256=igVbN2jz80Umb2BUJixmJVj-zx8unoKpecVo
15
15
  upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  upgini/autofe/all_operands.py,sha256=7UyvmmqGSqQu4kDgoFwQRKY__b9xKDk3Fpp2-H8A7AA,2399
17
17
  upgini/autofe/binary.py,sha256=441BRuqMsxlxuw4c8rMZB6h5EpRdVMk-bVa03U7T5Hg,3973
18
- upgini/autofe/date.py,sha256=XeTJIkPzauYXgI3n5E8h4353PhZRZ7LOpQGHA4DMPx4,6758
18
+ upgini/autofe/date.py,sha256=ZRFfZHKttBWSM_NDp7kgpMahli91_HVpnZeBDbm8aeI,6732
19
19
  upgini/autofe/feature.py,sha256=_V9B74B3ue7eAYXSOt9JKhVC9klkAKks22MwnBRye_w,12487
20
20
  upgini/autofe/groupby.py,sha256=4WjDzQxqpZxB79Ih4ihMMI5GDxaFqiH6ZelfV82ClT4,3091
21
21
  upgini/autofe/operand.py,sha256=JjEVT1U3kY9NDjUPMdoki7Oa8hMDG0-_h_NklVjIFyc,2882
@@ -56,7 +56,7 @@ upgini/utils/sklearn_ext.py,sha256=c23MGSUVfxLnaDWKAxavHgnOtm5dGKkF3YswdWQcFzs,4
56
56
  upgini/utils/target_utils.py,sha256=Y96_PJ5cC-WsEbeqg20v9uqywDQobLoTb-xoP7S3o4E,7807
57
57
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
58
58
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
59
- upgini-1.1.282a3418.post2.dist-info/METADATA,sha256=CDb5qhFVanj858fFyP7b96wf8UflZGzr38IeHoMiXD8,48129
60
- upgini-1.1.282a3418.post2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
- upgini-1.1.282a3418.post2.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
- upgini-1.1.282a3418.post2.dist-info/RECORD,,
59
+ upgini-1.1.282a3418.post3.dist-info/METADATA,sha256=PEPCHswhtmofXHXwBfboDN-RUzok5rp2yBkczC4Sgac,48129
60
+ upgini-1.1.282a3418.post3.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
+ upgini-1.1.282a3418.post3.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
+ upgini-1.1.282a3418.post3.dist-info/RECORD,,