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 +1 -1
- upgini/autofe/vector.py +16 -0
- upgini/data_source/data_source_publisher.py +11 -2
- {upgini-1.2.97.dist-info → upgini-1.2.98a3922.dev1.dist-info}/METADATA +1 -1
- {upgini-1.2.97.dist-info → upgini-1.2.98a3922.dev1.dist-info}/RECORD +7 -7
- {upgini-1.2.97.dist-info → upgini-1.2.98a3922.dev1.dist-info}/WHEEL +1 -1
- {upgini-1.2.97.dist-info → upgini-1.2.98a3922.dev1.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.2.
|
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,
|
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,4 +1,4 @@
|
|
1
|
-
upgini/__about__.py,sha256=
|
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=
|
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=
|
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.
|
75
|
-
upgini-1.2.
|
76
|
-
upgini-1.2.
|
77
|
-
upgini-1.2.
|
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,,
|
File without changes
|