upgini 1.2.98a3594.dev3__py3-none-any.whl → 1.2.98a3594.dev5__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.98a3594.dev3"
1
+ __version__ = "1.2.98a3594.dev5"
upgini/autofe/unary.py CHANGED
@@ -205,7 +205,6 @@ class OutlierDistance(PandasOperator, ParametrizedOperator):
205
205
  is_unary: bool = True
206
206
  input_type: Optional[str] = "vector"
207
207
  output_type: Optional[str] = "float"
208
- centroid: Optional[List[float]] = None
209
208
  class_value: Optional[str] = None
210
209
 
211
210
  def to_formula(self) -> str:
@@ -213,23 +212,13 @@ class OutlierDistance(PandasOperator, ParametrizedOperator):
213
212
 
214
213
  @classmethod
215
214
  def from_formula(cls, formula: str) -> Optional["OutlierDistance"]:
215
+ if formula == "outlier_dist":
216
+ return cls()
217
+
216
218
  if formula.startswith("outlier_dist_"):
217
219
  class_value = formula.split("_")[-1]
218
220
  return cls(class_value=None if class_value == "all" else class_value)
219
221
  return None
220
222
 
221
- @pydantic_validator("centroid", mode="before")
222
- def parse_centroid(cls, value):
223
- if isinstance(value, str):
224
- return json.loads(value)
225
- return value
226
-
227
- def get_params(self) -> Dict[str, Optional[str]]:
228
- res = super().get_params()
229
- if self.centroid is not None:
230
- res.update(
231
- {
232
- "centroid": json.dumps(self.centroid),
233
- }
234
- )
235
- return res
223
+ def get_centroid(self) -> np.ndarray:
224
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.98a3594.dev3
3
+ Version: 1.2.98a3594.dev5
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=eZcHZbBLtWZ1FYez0kCHmniB4zpllaZAhkYGaC-BGHo,33
1
+ upgini/__about__.py,sha256=CnanDD9wVK23wrADV7sTTFmJvITm8n9M3A9Yx8gLMz0,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
@@ -19,7 +19,7 @@ upgini/autofe/date.py,sha256=MM1S-6imNSzCDOhbNnmsc_bwSqUWBcS8vWAdHF8j1kY,11134
19
19
  upgini/autofe/feature.py,sha256=cu4xXjzVVF13ZV4RxuTrysK2qCfezlRCMOzCKRo1rNs,15558
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=eK6UGjBuz-zPidV5czxNR6CsIChWyxbO-eewbW2XQGw,7115
22
+ upgini/autofe/unary.py,sha256=C7ARbVywOenQqFrsD6CtKUDbbjAgrOX8zBk60VCELQ8,6731
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.dev3.dist-info/METADATA,sha256=EIVqj8EH6jak1hbkKop99zQyPY4eEwTEA0SrJREYAbk,49538
75
- upgini-1.2.98a3594.dev3.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
76
- upgini-1.2.98a3594.dev3.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
- upgini-1.2.98a3594.dev3.dist-info/RECORD,,
74
+ upgini-1.2.98a3594.dev5.dist-info/METADATA,sha256=dOus6DLRFVJfIOGE-hksk71oxCpF1IyQ8CpgnKRyDgo,49538
75
+ upgini-1.2.98a3594.dev5.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
76
+ upgini-1.2.98a3594.dev5.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
+ upgini-1.2.98a3594.dev5.dist-info/RECORD,,