upgini 1.1.296a3521.dev7__py3-none-any.whl → 1.1.296a3521.dev9__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.296a3521.dev7"
1
+ __version__ = "1.1.296a3521.dev9"
@@ -7,7 +7,7 @@ from upgini.autofe.date import (
7
7
  DateListDiff,
8
8
  DateListDiffBounded,
9
9
  DatePercentile,
10
- DatePercentileType2,
10
+ DatePercentileMethod2,
11
11
  )
12
12
  from upgini.autofe.groupby import GroupByThenAgg, GroupByThenRank
13
13
  from upgini.autofe.operand import Operand
@@ -57,7 +57,7 @@ ALL_OPERANDS: Dict[str, Operand] = {
57
57
  DateListDiffBounded(diff_unit="Y", aggregation="count", lower_bound=45, upper_bound=60),
58
58
  DateListDiffBounded(diff_unit="Y", aggregation="count", lower_bound=60),
59
59
  DatePercentile(),
60
- DatePercentileType2(),
60
+ DatePercentileMethod2(),
61
61
  Norm(),
62
62
  ]
63
63
  }
upgini/autofe/date.py CHANGED
@@ -39,6 +39,7 @@ class DateDiffMixin(BaseModel):
39
39
 
40
40
  class DateDiff(PandasOperand, DateDiffMixin):
41
41
  name = "date_diff"
42
+ alias = "date_diff_type1"
42
43
  is_binary = True
43
44
  has_symmetry_importance = True
44
45
 
@@ -197,6 +198,7 @@ class DatePercentileBase(PandasOperand, abc.ABC):
197
198
 
198
199
  class DatePercentile(DatePercentileBase):
199
200
  name = "date_per"
201
+ alias = "date_per_method1"
200
202
 
201
203
  zero_month: Optional[int]
202
204
  zero_year: Optional[int]
@@ -232,8 +234,8 @@ class DatePercentile(DatePercentileBase):
232
234
  )
233
235
 
234
236
 
235
- class DatePercentileType2(DatePercentileBase):
236
- name = "date_per_type2"
237
+ class DatePercentileMethod2(DatePercentileBase):
238
+ name = "date_per_method2"
237
239
 
238
240
  def _get_bounds(self, date_col: pd.Series) -> pd.Series:
239
241
  pass
upgini/autofe/feature.py CHANGED
@@ -134,9 +134,6 @@ class Feature:
134
134
  for child in self.children:
135
135
  child.delete_data()
136
136
 
137
- def get_name_component(self, **kwargs) -> str:
138
- return "_".join(ch.get_name_component(**kwargs) for ch in self.children) + "_" + self.get_op_display_name()
139
-
140
137
  def get_op_display_name(self) -> str:
141
138
  return self.op.alias or self.op.name.lower()
142
139
 
@@ -149,8 +146,7 @@ class Feature:
149
146
  elif shorten and not self.op.is_unary:
150
147
  components = ["f_autofe", self.get_op_display_name()]
151
148
  else:
152
- child_components = [ch.get_name_component(**kwargs) for ch in self.children]
153
- components = ["f_" + "_f_".join(child_components)] + [
149
+ components = ["f_" + "_f_".join(self.get_columns())] + [
154
150
  "autofe",
155
151
  self.get_op_display_name(),
156
152
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.296a3521.dev7
3
+ Version: 1.1.296a3521.dev9
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/
@@ -31,6 +31,7 @@ Requires-Dist: numpy>=1.19.0
31
31
  Requires-Dist: pandas<3.0.0,>=1.1.0
32
32
  Requires-Dist: pydantic<2.0.0,>=1.8.2
33
33
  Requires-Dist: pyjwt>=2.8.0
34
+ Requires-Dist: python-bidi==0.4.2
34
35
  Requires-Dist: python-dateutil>=2.8.0
35
36
  Requires-Dist: python-json-logger>=2.0.2
36
37
  Requires-Dist: requests>=2.8.0
@@ -1,4 +1,4 @@
1
- upgini/__about__.py,sha256=cWFCdhTzFoDAJAXMobAoO0n0qJcv9M0Dd1tLcw345Mo,34
1
+ upgini/__about__.py,sha256=2F_HOCFdMZavmlP6CydWnRXZDOzDzF1tIkugqbcE9-g,34
2
2
  upgini/__init__.py,sha256=ObEtjFkIssl83qeKNMLpIQygfwK8TzztwiI43YTsAP0,353
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=7TLVVhGtjgx_9yaiaIUK3kZSe_R9wg5dY0d4F5qCGM4,45636
@@ -14,10 +14,10 @@ upgini/version_validator.py,sha256=ddSKUK_-eGJB3NgrqOMoWJU-OxQ253WsNLp8aqJkaIM,1
14
14
  upgini/ads_management/__init__.py,sha256=qzyisOToVRP-tquAJD1PblZhNtMrOB8FiyF9JvfkvgE,50
15
15
  upgini/ads_management/ads_manager.py,sha256=igVbN2jz80Umb2BUJixmJVj-zx8unoKpecVo-R-nGdw,2648
16
16
  upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- upgini/autofe/all_operands.py,sha256=WJOiNVNVyrWc3vYGMvJtrpGRrLEQ237YMTsWnkUbLNw,2502
17
+ upgini/autofe/all_operands.py,sha256=XbvgX2IU4aee9rJZ--d5MdmrfKhON_emle5-RU1qlEY,2506
18
18
  upgini/autofe/binary.py,sha256=8FXPJxN7fnC5wphO0Dp1tQCa0lFMSDGQGvBMkSIVAcE,4155
19
- upgini/autofe/date.py,sha256=CgzkV86ua5nN0SOxF5VF-90rI3Snz5lamgCicpG7FHQ,7878
20
- upgini/autofe/feature.py,sha256=OBR0K_pLYlowmSe54knhv5nwFBjTXiDdW_r9BT9ZxiU,13747
19
+ upgini/autofe/date.py,sha256=8zYVhjl7jVS4xt-IjCgk9px2LHnACX2YlMlmDELlRTc,7943
20
+ upgini/autofe/feature.py,sha256=f4j3n0WlXmIacvnYgd-dcnBFlzCBkGao-qyTplH2X3c,13492
21
21
  upgini/autofe/groupby.py,sha256=4WjDzQxqpZxB79Ih4ihMMI5GDxaFqiH6ZelfV82ClT4,3091
22
22
  upgini/autofe/operand.py,sha256=MKEsl3zxpWzRDpTkE0sNJxTu62U20sWOvEKhPjUWS6s,2915
23
23
  upgini/autofe/unary.py,sha256=ZWjLd-CUkNt_PpM8YuWLLipW1v_RdBlsl4JxXIVo9aM,3652
@@ -57,7 +57,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
57
57
  upgini/utils/target_utils.py,sha256=Y96_PJ5cC-WsEbeqg20v9uqywDQobLoTb-xoP7S3o4E,7807
58
58
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
59
59
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
60
- upgini-1.1.296a3521.dev7.dist-info/METADATA,sha256=QIR5PbmMPJZvBSZd_tihGXEQFJ42j_t19fHSOcxCLI4,48127
61
- upgini-1.1.296a3521.dev7.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
62
- upgini-1.1.296a3521.dev7.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
- upgini-1.1.296a3521.dev7.dist-info/RECORD,,
60
+ upgini-1.1.296a3521.dev9.dist-info/METADATA,sha256=rPLhUPU3flV46eJUOaAVuDlezi56zAhzub_IRvH1_L0,48161
61
+ upgini-1.1.296a3521.dev9.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
62
+ upgini-1.1.296a3521.dev9.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
+ upgini-1.1.296a3521.dev9.dist-info/RECORD,,