upgini 1.1.232a1__py3-none-any.whl → 1.1.232a2__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.
- upgini/autofe/feature.py +6 -6
- {upgini-1.1.232a1.dist-info → upgini-1.1.232a2.dist-info}/METADATA +1 -1
- {upgini-1.1.232a1.dist-info → upgini-1.1.232a2.dist-info}/RECORD +6 -6
- {upgini-1.1.232a1.dist-info → upgini-1.1.232a2.dist-info}/LICENSE +0 -0
- {upgini-1.1.232a1.dist-info → upgini-1.1.232a2.dist-info}/WHEEL +0 -0
- {upgini-1.1.232a1.dist-info → upgini-1.1.232a2.dist-info}/top_level.txt +0 -0
upgini/autofe/feature.py
CHANGED
|
@@ -48,8 +48,8 @@ class Column:
|
|
|
48
48
|
def to_formula(self, **kwargs) -> str:
|
|
49
49
|
return str(self.get_columns(**kwargs)[0])
|
|
50
50
|
|
|
51
|
-
def to_pretty_formula(self
|
|
52
|
-
return self.to_formula(
|
|
51
|
+
def to_pretty_formula(self) -> str:
|
|
52
|
+
return self.to_formula()
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
class Feature:
|
|
@@ -188,15 +188,15 @@ class Feature:
|
|
|
188
188
|
result.append(")")
|
|
189
189
|
return "".join(result)
|
|
190
190
|
|
|
191
|
-
def to_pretty_formula(self
|
|
191
|
+
def to_pretty_formula(self) -> str:
|
|
192
192
|
if self.op.name in ["+", "-", "*", "/"]:
|
|
193
|
-
left = self.children[0].to_pretty_formula(
|
|
194
|
-
right = self.children[1].to_pretty_formula(
|
|
193
|
+
left = self.children[0].to_pretty_formula()
|
|
194
|
+
right = self.children[1].to_pretty_formula()
|
|
195
195
|
return f"{left} {self.op.name} {right}"
|
|
196
196
|
else:
|
|
197
197
|
result = [self.op.name, "("]
|
|
198
198
|
for i in range(len(self.children)):
|
|
199
|
-
string_i = self.children[i].to_pretty_formula(
|
|
199
|
+
string_i = self.children[i].to_pretty_formula()
|
|
200
200
|
result.append(string_i)
|
|
201
201
|
result.append(", ")
|
|
202
202
|
result.pop()
|
|
@@ -15,7 +15,7 @@ upgini/ads_management/ads_manager.py,sha256=O6Pcl_y5e_ULfQ-xmGGn_qBP4z7EtV7TP9et
|
|
|
15
15
|
upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
upgini/autofe/all_operands.py,sha256=du44N6ISWe3ikb0y9ZzSOHNbLiyEYrJPwoBo0Z6xp2s,1487
|
|
17
17
|
upgini/autofe/binary.py,sha256=f8LQqZi9zyaMUAv-jASMmWNA_vT05ncYCjZq0qx3USs,3972
|
|
18
|
-
upgini/autofe/feature.py,sha256=
|
|
18
|
+
upgini/autofe/feature.py,sha256=iDB_cL49w7AYl-96AkVqWBynrE_ZqK0fxgTfuJJoruA,11847
|
|
19
19
|
upgini/autofe/groupby.py,sha256=iXRfOmOc84ooSzRhsh9GmmG7rTafX0-ekXko8s9Qs68,3089
|
|
20
20
|
upgini/autofe/operand.py,sha256=8WqEoSIA5rEWCK1xuC303E4NW5a72GZ5jUMAEj4skII,2291
|
|
21
21
|
upgini/autofe/unary.py,sha256=7TBe7PCt7l_XQEqu_G5g_TC2cW3tppL7uPDcX8xsqz0,2731
|
|
@@ -53,8 +53,8 @@ upgini/utils/sklearn_ext.py,sha256=IMx2La70AXAggApVpT7sMEjWqVWon5AMZt4MARDsIMQ,4
|
|
|
53
53
|
upgini/utils/target_utils.py,sha256=cu52icjhDIPpEStHYMXrD2hIl9gzvfnxZr0Ra5osV0k,1616
|
|
54
54
|
upgini/utils/track_info.py,sha256=DVNVZmXUb4f25DSPEuUNEFx49hNEBfmuY9iSW5jkMnI,5708
|
|
55
55
|
upgini/utils/warning_counter.py,sha256=vnmdFo5-7GBkU2bK9h_uC0K0Y_wtfcYstxOdeRfacO0,228
|
|
56
|
-
upgini-1.1.
|
|
57
|
-
upgini-1.1.
|
|
58
|
-
upgini-1.1.
|
|
59
|
-
upgini-1.1.
|
|
60
|
-
upgini-1.1.
|
|
56
|
+
upgini-1.1.232a2.dist-info/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
57
|
+
upgini-1.1.232a2.dist-info/METADATA,sha256=s6aUWidVUESHbFanlUtLlmWr4izBNGLTeQj1O1bH82A,48400
|
|
58
|
+
upgini-1.1.232a2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
59
|
+
upgini-1.1.232a2.dist-info/top_level.txt,sha256=OFhTGiDIWKl5gFI49qvWq1R9IKflPaE2PekcbDXDtx4,7
|
|
60
|
+
upgini-1.1.232a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|