upgini 1.1.280a3418.post9__py3-none-any.whl → 1.1.280a3418.post10__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.280a3418-9"
1
+ __version__ = "1.1.280a3418-10"
upgini/autofe/date.py CHANGED
@@ -28,7 +28,7 @@ class DateDiff(PandasOperand, DateDiffMixin):
28
28
  is_binary = True
29
29
  has_symmetry_importance = True
30
30
 
31
- def get_params(self) -> Dict[str, str]:
31
+ def get_params(self) -> Dict[str, Optional[str]]:
32
32
  res = super().get_params()
33
33
  res.update(
34
34
  {
@@ -54,7 +54,7 @@ class DateDiffType2(PandasOperand, DateDiffMixin):
54
54
  is_binary = True
55
55
  has_symmetry_importance = True
56
56
 
57
- def get_params(self) -> Dict[str, str]:
57
+ def get_params(self) -> Dict[str, Optional[str]]:
58
58
  res = super().get_params()
59
59
  res.update(
60
60
  {
@@ -87,7 +87,7 @@ class DateListDiff(PandasOperand, DateDiffMixin):
87
87
  has_symmetry_importance = True
88
88
  aggregation: str
89
89
 
90
- def get_params(self) -> Dict[str, str]:
90
+ def get_params(self) -> Dict[str, Optional[str]]:
91
91
  res = super().get_params()
92
92
  res.update(
93
93
  {
@@ -161,7 +161,7 @@ class DatePercentile(PandasOperand):
161
161
  zero_bounds: Optional[List[float]]
162
162
  step: int = 30
163
163
 
164
- def get_params(self) -> Dict[str, str]:
164
+ def get_params(self) -> Dict[str, Optional[str]]:
165
165
  res = super().get_params()
166
166
  res.update(
167
167
  {
upgini/autofe/feature.py CHANGED
@@ -75,8 +75,12 @@ class Feature:
75
75
  self.cached_display_name = cached_display_name
76
76
  self.alias = alias
77
77
 
78
- def set_op_params(self, params: Dict[str, str]) -> "Feature":
78
+ def set_op_params(self, params: Optional[Dict[str, str]]) -> "Feature":
79
+ obj_dict = self.op.dict().copy()
80
+ obj_dict.update(params or {})
81
+ self.op = self.op.__class__.parse_obj(obj_dict)
79
82
  self.op.set_params(params)
83
+
80
84
  for child in self.children:
81
85
  child.set_op_params(params)
82
86
  return self
upgini/autofe/operand.py CHANGED
@@ -25,8 +25,8 @@ class Operand(BaseModel):
25
25
  self.params = params
26
26
  return self
27
27
 
28
- def get_params(self) -> Dict[str, str]:
29
- res = {"alias": self.alias} if self.alias is not None else {}
28
+ def get_params(self) -> Dict[str, Optional[str]]:
29
+ res = {"alias": self.alias}
30
30
  res.update(self.params or {})
31
31
  return res
32
32
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.280a3418.post9
3
+ Version: 1.1.280a3418.post10
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=HUxcoWb7PDkUMAg3NpodY0SH4aBbqofixRDr2feuzo8,31
1
+ upgini/__about__.py,sha256=dmfbxwIubpazkuRbZUmqQwuEKtDwBSXJuDdQN0rHZuY,32
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=uiFY-P8te7-zigib1hGWRtW5v0X7chxPM0hJFdixAN8,45623
@@ -15,10 +15,10 @@ 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=4HM9HkEqZA5Y3FZMDeo3eBtXvaHERONghm3yZgrQQ6Y,6718
19
- upgini/autofe/feature.py,sha256=_xmoYsZ2QQk377I4of9io6VvU38W0twpwjWyX3n1gqA,12139
18
+ upgini/autofe/date.py,sha256=XeTJIkPzauYXgI3n5E8h4353PhZRZ7LOpQGHA4DMPx4,6758
19
+ upgini/autofe/feature.py,sha256=x7sumlIZqSE020XAkoykaesUjmmdYhaa0iFPKxBuDXo,12285
20
20
  upgini/autofe/groupby.py,sha256=4WjDzQxqpZxB79Ih4ihMMI5GDxaFqiH6ZelfV82ClT4,3091
21
- upgini/autofe/operand.py,sha256=gWyxKM5tHESgrruN6J0CATIMeCPMBhiKHbVCCAL8M3Q,2906
21
+ upgini/autofe/operand.py,sha256=JjEVT1U3kY9NDjUPMdoki7Oa8hMDG0-_h_NklVjIFyc,2882
22
22
  upgini/autofe/unary.py,sha256=v-l3aiE5hj6kurvh6adCQL8W3X9u9a7RVbS_WPR2qlw,3146
23
23
  upgini/autofe/vector.py,sha256=dLxfAstJs-gw_OQ1xxoxcM6pVzORlV0HVzdzt7cLXVQ,606
24
24
  upgini/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.280a3418.post9.dist-info/METADATA,sha256=6WH8uf1vAgFn6Dg_xhJtkbv97tU-DK9-GBW5KDUodVA,48129
60
- upgini-1.1.280a3418.post9.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
- upgini-1.1.280a3418.post9.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
- upgini-1.1.280a3418.post9.dist-info/RECORD,,
59
+ upgini-1.1.280a3418.post10.dist-info/METADATA,sha256=IYik9d-rA5UCa6NmuR2N8bfOHJq-T-mw2AVzXGfnFyQ,48130
60
+ upgini-1.1.280a3418.post10.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
+ upgini-1.1.280a3418.post10.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
+ upgini-1.1.280a3418.post10.dist-info/RECORD,,