upgini 1.2.98a3594.dev4__py3-none-any.whl → 1.2.98a3594.dev6__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/__about__.py +1 -1
- upgini/autofe/feature.py +3 -3
- upgini/autofe/unary.py +3 -3
- {upgini-1.2.98a3594.dev4.dist-info → upgini-1.2.98a3594.dev6.dist-info}/METADATA +1 -1
- {upgini-1.2.98a3594.dev4.dist-info → upgini-1.2.98a3594.dev6.dist-info}/RECORD +7 -7
- {upgini-1.2.98a3594.dev4.dist-info → upgini-1.2.98a3594.dev6.dist-info}/WHEEL +0 -0
- {upgini-1.2.98a3594.dev4.dist-info → upgini-1.2.98a3594.dev6.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.2.98a3594.
|
1
|
+
__version__ = "1.2.98a3594.dev6"
|
upgini/autofe/feature.py
CHANGED
@@ -81,7 +81,7 @@ class Feature:
|
|
81
81
|
self.cached_display_name = cached_display_name
|
82
82
|
self.alias = alias
|
83
83
|
|
84
|
-
def set_op_params(self, params: Optional[Dict[str, str]]) -> "Feature":
|
84
|
+
def set_op_params(self, params: Optional[Dict[str, str]], **kwargs) -> "Feature":
|
85
85
|
obj_dict = pydantic_dump_method(self.op)().copy()
|
86
86
|
obj_dict.update(params or {})
|
87
87
|
self.op = pydantic_parse_method(self.op.__class__)(obj_dict)
|
@@ -89,13 +89,13 @@ class Feature:
|
|
89
89
|
|
90
90
|
for child in self.children:
|
91
91
|
child_params = {
|
92
|
-
k[len(child.get_display_name()) + 1 :]: v
|
92
|
+
k[len(child.get_display_name(**kwargs)) + 1 :]: v
|
93
93
|
for k, v in params.items()
|
94
94
|
if k.startswith(child.get_display_name())
|
95
95
|
}
|
96
96
|
if not child_params:
|
97
97
|
child_params = params
|
98
|
-
child.set_op_params(child_params)
|
98
|
+
child.set_op_params(child_params, **kwargs)
|
99
99
|
return self
|
100
100
|
|
101
101
|
def get_op_params(self, **kwargs) -> Dict[str, str]:
|
upgini/autofe/unary.py
CHANGED
@@ -212,10 +212,10 @@ class OutlierDistance(PandasOperator, ParametrizedOperator):
|
|
212
212
|
|
213
213
|
@classmethod
|
214
214
|
def from_formula(cls, formula: str) -> Optional["OutlierDistance"]:
|
215
|
+
if formula == "outlier_dist":
|
216
|
+
return cls()
|
217
|
+
|
215
218
|
if formula.startswith("outlier_dist_"):
|
216
219
|
class_value = formula.split("_")[-1]
|
217
220
|
return cls(class_value=None if class_value == "all" else class_value)
|
218
221
|
return None
|
219
|
-
|
220
|
-
def get_centroid(self) -> np.ndarray:
|
221
|
-
pass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: upgini
|
3
|
-
Version: 1.2.98a3594.
|
3
|
+
Version: 1.2.98a3594.dev6
|
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=
|
1
|
+
upgini/__about__.py,sha256=2JIsmE_Fjogl8w-AabY_wkAPSgDQFeqyzFtO64_aJ6I,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=e6JDYTZ2AwC5aF-dqclKZKkiKrHo2f6cFmMQO2ZZmjM,32724
|
@@ -16,10 +16,10 @@ 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=oOEECc4nRzZN2tYaiqx8F2XHnfWpk1bVvb7ZkZJ0lO8,7709
|
18
18
|
upgini/autofe/date.py,sha256=MM1S-6imNSzCDOhbNnmsc_bwSqUWBcS8vWAdHF8j1kY,11134
|
19
|
-
upgini/autofe/feature.py,sha256=
|
19
|
+
upgini/autofe/feature.py,sha256=YFbyg_m1dL8gdmAPvXZFjkJEza_gP7iQuA8tcDwf-yk,15586
|
20
20
|
upgini/autofe/groupby.py,sha256=IYmQV9uoCdRcpkeWZj_kI3ObzoNCNx3ff3h8sTL01tk,3603
|
21
21
|
upgini/autofe/operator.py,sha256=EOffJw6vKXpEh5yymqb1RFNJPxGxmnHdFRo9dB5SCFo,4969
|
22
|
-
upgini/autofe/unary.py,sha256=
|
22
|
+
upgini/autofe/unary.py,sha256=FFtvkQaT0cu_zPZ1jCLcsjik-UUh12qQFF3tUW8NqsE,6675
|
23
23
|
upgini/autofe/utils.py,sha256=dYrtyAM8Vcc_R8u4dNo54IsGrHKagTHDJTKhGho0bRg,2967
|
24
24
|
upgini/autofe/vector.py,sha256=jHs0nNTOaHspYUlxW7fjQepk4cvr_JDQ65L1OCiVsds,1360
|
25
25
|
upgini/autofe/timeseries/__init__.py,sha256=PGwwDAMwvkXl3el12tXVEmZUgDUvlmIPlXtROm6bD18,738
|
@@ -71,7 +71,7 @@ upgini/utils/target_utils.py,sha256=i3Xt5l9ybB2_nF_ma5cfPuL3OeFTs2dY2xDI0p4Azpg,
|
|
71
71
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
72
72
|
upgini/utils/ts_utils.py,sha256=26vhC0pN7vLXK6R09EEkMK3Lwb9IVPH7LRdqFIQ3kPs,1383
|
73
73
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
74
|
-
upgini-1.2.98a3594.
|
75
|
-
upgini-1.2.98a3594.
|
76
|
-
upgini-1.2.98a3594.
|
77
|
-
upgini-1.2.98a3594.
|
74
|
+
upgini-1.2.98a3594.dev6.dist-info/METADATA,sha256=Zh9uXkIWOoTrZWXtsj4TkeBpOhjorTtZprNVGNNCzvY,49538
|
75
|
+
upgini-1.2.98a3594.dev6.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
76
|
+
upgini-1.2.98a3594.dev6.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
77
|
+
upgini-1.2.98a3594.dev6.dist-info/RECORD,,
|
File without changes
|
File without changes
|