upgini 1.2.71a3810.dev7__py3-none-any.whl → 1.2.71a3810.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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.71a3810.dev7"
1
+ __version__ = "1.2.71a3810.dev8"
upgini/autofe/feature.py CHANGED
@@ -154,10 +154,10 @@ class Feature:
154
154
  for child in self.children:
155
155
  child.delete_data()
156
156
 
157
- def get_op_display_name(self) -> str:
158
- return (self.op.alias or self.op.to_formula()).lower()
157
+ def get_op_display_name(self, use_alias: bool = True) -> str:
158
+ return (self.op.alias or self.op.to_formula()).lower() if use_alias else self.op.to_formula()
159
159
 
160
- def get_display_name(self, cache: bool = True, shorten: bool = False, **kwargs) -> str:
160
+ def get_display_name(self, cache: bool = True, shorten: bool = False, use_op_alias: bool = True, **kwargs) -> str:
161
161
  if self.cached_display_name is not None and cache:
162
162
  return self.cached_display_name
163
163
 
@@ -168,12 +168,20 @@ class Feature:
168
168
  components.extend(["f_autofe", self.alias])
169
169
  elif should_stack_op:
170
170
  components.extend(
171
- [self.children[0].get_display_name(cache=cache, shorten=shorten, **kwargs), self.get_op_display_name()]
171
+ [
172
+ self.children[0].get_display_name(
173
+ cache=cache, shorten=shorten, use_op_alias=use_op_alias, **kwargs
174
+ ),
175
+ self.get_op_display_name(use_alias=use_op_alias),
176
+ ]
172
177
  )
173
178
  elif shorten and not self.op.is_unary:
174
- components.extend(["f_autofe", self.get_op_display_name()])
179
+ components.extend(["f_autofe", self.get_op_display_name(use_alias=use_op_alias)])
175
180
  else:
176
- components = ["f_" + "_f_".join(self.get_columns(**kwargs))] + ["autofe", self.get_op_display_name()]
181
+ components = ["f_" + "_f_".join(self.get_columns(**kwargs))] + [
182
+ "autofe",
183
+ self.get_op_display_name(use_alias=use_op_alias),
184
+ ]
177
185
  components.extend([str(self.display_index)] if self.display_index is not None else [])
178
186
  display_name = "_".join(components)
179
187
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.71a3810.dev7
3
+ Version: 1.2.71a3810.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=8L5b0YAc11O_l7JTUIlZ33k196Ga-M-OqrDVycquS2g,33
1
+ upgini/__about__.py,sha256=3ogIqjxXWhBFAGAoDULfT_e9_WAKFaVdnmQQyjrqPo8,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=aspri7ZAgwkNNUiIgQ1GRXvw8XQii3F4RfNXSrF4wrw,35365
@@ -16,7 +16,7 @@ upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  upgini/autofe/all_operators.py,sha256=rdjF5eaE4bC6Q4eu_el5Z7ekYt8DjOFermz2bePPbUc,333
17
17
  upgini/autofe/binary.py,sha256=MnQuFiERpocjCPQUjOljlsq5FE-04GPfwtNjzvfNMyU,7671
18
18
  upgini/autofe/date.py,sha256=MM1S-6imNSzCDOhbNnmsc_bwSqUWBcS8vWAdHF8j1kY,11134
19
- upgini/autofe/feature.py,sha256=uoNRZlI_6koGLT0cyoPlnOIA6E9_WQXvalMqu6KGGB4,14970
19
+ upgini/autofe/feature.py,sha256=G_YgnsauIoaMgByx9JXDPiKc4nqs0pwWZUfvoIGMKxY,15305
20
20
  upgini/autofe/groupby.py,sha256=IYmQV9uoCdRcpkeWZj_kI3ObzoNCNx3ff3h8sTL01tk,3603
21
21
  upgini/autofe/operator.py,sha256=EOffJw6vKXpEh5yymqb1RFNJPxGxmnHdFRo9dB5SCFo,4969
22
22
  upgini/autofe/unary.py,sha256=Sx11IoHRh5nwyALzjgG9GQOrVNIs8NZ1JzunAJuN66A,5731
@@ -70,7 +70,7 @@ upgini/utils/target_utils.py,sha256=KNFzJta1SpGU4sp07dHKSeVJlDs_9qgD2wcw5YuJfOc,
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.71a3810.dev7.dist-info/METADATA,sha256=IJ7cupE5ReCxICsHNhZwoGihsiyYZ2U68rQ0taW9VQ0,49101
74
- upgini-1.2.71a3810.dev7.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
75
- upgini-1.2.71a3810.dev7.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
- upgini-1.2.71a3810.dev7.dist-info/RECORD,,
73
+ upgini-1.2.71a3810.dev8.dist-info/METADATA,sha256=N4PXEExwTZyvksJTI8f2X9YHuraq20psxS0yKKx0GnU,49101
74
+ upgini-1.2.71a3810.dev8.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
75
+ upgini-1.2.71a3810.dev8.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
+ upgini-1.2.71a3810.dev8.dist-info/RECORD,,