upgini 1.2.97__py3-none-any.whl → 1.2.98a3922.dev1__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.97"
1
+ __version__ = "1.2.98a3922.dev1"
upgini/autofe/vector.py CHANGED
@@ -47,3 +47,19 @@ class OnnxModel(PandasOperator, metaclass=OperatorRegistry):
47
47
  }
48
48
  )
49
49
  return res
50
+
51
+
52
+ class CatboostModel(PandasOperator, metaclass=OperatorRegistry):
53
+ name: str = "catboost"
54
+ is_vector: bool = True
55
+ output_type: Optional[str] = "float"
56
+ model_name: str = ""
57
+
58
+ def get_params(self) -> Dict[str, Optional[str]]:
59
+ res = super().get_params()
60
+ res.update(
61
+ {
62
+ "model_name": self.model_name,
63
+ }
64
+ )
65
+ return res
@@ -495,15 +495,24 @@ class DataSourcePublisher:
495
495
  self.logger.exception("Failed to reannounce all ADS-es")
496
496
 
497
497
  def upload_autofe_model(
498
- self, file_path: str, name: str, model_type: Optional[Literal["ONNX"]] = None, description: str = ""
498
+ self,
499
+ file_path: str,
500
+ name: str,
501
+ input_names: List[str],
502
+ search_id: str,
503
+ model_type: Optional[Literal["ONNX", "CATBOOST"]] = None,
504
+ description: str = "",
499
505
  ):
500
- if model_type is not None and model_type not in ["ONNX"]:
506
+ if model_type is not None and model_type not in ["ONNX", "CATBOOST"]:
501
507
  raise ValueError(f"Invalid model type: {model_type}. Available values: ONNX")
502
508
  metadata = {
503
509
  "modelName": name,
510
+ "inputNames": input_names,
511
+ "searchTaskId": search_id,
504
512
  "modelType": model_type or "ONNX",
505
513
  "description": description,
506
514
  }
515
+
507
516
  trace_id = str(uuid.uuid4())
508
517
  with MDC(trace_id=trace_id):
509
518
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.97
3
+ Version: 1.2.98a3922.dev1
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=JMIYICLhPHLeOmqLMrl8GF2-GUkujhXH6zWRyr1_Nyw,23
1
+ upgini/__about__.py,sha256=Xd-ctCimaoTAKxmWfidUhJ3JvDrk9S-Dlh78Hfit0mw,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
@@ -21,7 +21,7 @@ upgini/autofe/groupby.py,sha256=IYmQV9uoCdRcpkeWZj_kI3ObzoNCNx3ff3h8sTL01tk,3603
21
21
  upgini/autofe/operator.py,sha256=EOffJw6vKXpEh5yymqb1RFNJPxGxmnHdFRo9dB5SCFo,4969
22
22
  upgini/autofe/unary.py,sha256=N76Pehn-hO8FWlSdqJ2Wm-yoU1MSR7m6yb2GWYBcumU,5933
23
23
  upgini/autofe/utils.py,sha256=dYrtyAM8Vcc_R8u4dNo54IsGrHKagTHDJTKhGho0bRg,2967
24
- upgini/autofe/vector.py,sha256=jHs0nNTOaHspYUlxW7fjQepk4cvr_JDQ65L1OCiVsds,1360
24
+ upgini/autofe/vector.py,sha256=0MTfVPm7fEkPCPrmFgIvJ1wnzrWi5OYX1irJo1A1qqA,1761
25
25
  upgini/autofe/timeseries/__init__.py,sha256=PGwwDAMwvkXl3el12tXVEmZUgDUvlmIPlXtROm6bD18,738
26
26
  upgini/autofe/timeseries/base.py,sha256=rWJqRuFAzTZEsUdWG5s1Vhif9zzRRmalASXvarufRxI,3610
27
27
  upgini/autofe/timeseries/cross.py,sha256=BTINVwuZSbm_4NKkVm0FGM68SrvZLENZKXN7-UyvhYI,5319
@@ -31,7 +31,7 @@ upgini/autofe/timeseries/roll.py,sha256=zADKXU-eYWQnQ5R3am1yEal8uU6Tm0jLAixwPb_a
31
31
  upgini/autofe/timeseries/trend.py,sha256=K1_iw2ko_LIUU8YCUgrvN3n0MkHtsi7-63-8x9er1k4,2129
32
32
  upgini/autofe/timeseries/volatility.py,sha256=SvZfhM_ZAWCNpTf87WjSnZsnlblARgruDlu4By4Zvhc,8078
33
33
  upgini/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- upgini/data_source/data_source_publisher.py,sha256=iqcDx2oRiVyeuzQqqPBnfqWhzQSXTyya0wk2ltibBAA,25010
34
+ upgini/data_source/data_source_publisher.py,sha256=0UeZS_HOTp45jeeRg-AhBIiJr5qM9GoRNvvOoizulS0,25202
35
35
  upgini/mdc/__init__.py,sha256=iHJlXQg6xRM1-ZOUtaPSJqw5SpQDszvxp4LyqviNLIQ,1027
36
36
  upgini/mdc/context.py,sha256=3u1B-jXt7tXEvNcV3qmR9SDCseudnY7KYsLclBdwVLk,1405
37
37
  upgini/normalizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.97.dist-info/METADATA,sha256=J026R7Cl6GQ2NHGHzjxhrnvDLM_mXQvQy2jqvveKvaI,49528
75
- upgini-1.2.97.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
76
- upgini-1.2.97.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
- upgini-1.2.97.dist-info/RECORD,,
74
+ upgini-1.2.98a3922.dev1.dist-info/METADATA,sha256=PGqkfTScvXJH9Yx5UQd2HEmu5ty86Ss9_OE5JAY1Yzo,49538
75
+ upgini-1.2.98a3922.dev1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
76
+ upgini-1.2.98a3922.dev1.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
+ upgini-1.2.98a3922.dev1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.24.2
2
+ Generator: hatchling 1.25.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any