upgini 1.2.36__py3-none-any.whl → 1.2.37__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/features_enricher.py +6 -4
- upgini/resource_bundle/strings.properties +1 -0
- {upgini-1.2.36.dist-info → upgini-1.2.37.dist-info}/METADATA +1 -1
- {upgini-1.2.36.dist-info → upgini-1.2.37.dist-info}/RECORD +7 -7
- {upgini-1.2.36.dist-info → upgini-1.2.37.dist-info}/WHEEL +0 -0
- {upgini-1.2.36.dist-info → upgini-1.2.37.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.37"
|
upgini/features_enricher.py
CHANGED
|
@@ -1995,7 +1995,7 @@ class FeaturesEnricher(TransformerMixin):
|
|
|
1995
1995
|
trace_id = trace_id or uuid.uuid4()
|
|
1996
1996
|
return search_task.get_progress(trace_id)
|
|
1997
1997
|
|
|
1998
|
-
def get_transactional_transform_api(self):
|
|
1998
|
+
def get_transactional_transform_api(self, only_online_sources=False):
|
|
1999
1999
|
if self.api_key is None:
|
|
2000
2000
|
raise ValidationError(self.bundle.get("transactional_transform_unregistered"))
|
|
2001
2001
|
if self._search_task is None:
|
|
@@ -2053,7 +2053,7 @@ class FeaturesEnricher(TransformerMixin):
|
|
|
2053
2053
|
api_example = f"""curl 'https://search.upgini.com/online/api/http_inference_trigger?search_id={search_id}' \\
|
|
2054
2054
|
-H 'Authorization: {self.api_key}' \\
|
|
2055
2055
|
-H 'Content-Type: application/json' \\
|
|
2056
|
-
-d '{{"search_keys": {keys}{features_section}}}'"""
|
|
2056
|
+
-d '{{"search_keys": {keys}{features_section}, "only_online_sources": {str(only_online_sources).lower()}}}'"""
|
|
2057
2057
|
return api_example
|
|
2058
2058
|
|
|
2059
2059
|
def _get_copy_of_runtime_parameters(self) -> RuntimeParameters:
|
|
@@ -2102,8 +2102,10 @@ class FeaturesEnricher(TransformerMixin):
|
|
|
2102
2102
|
self.logger.warning(
|
|
2103
2103
|
f"There are important features for transform, that generated by online API: {online_api_features}"
|
|
2104
2104
|
)
|
|
2105
|
-
|
|
2106
|
-
|
|
2105
|
+
msg = self.bundle.get("online_api_features_transform").format(online_api_features)
|
|
2106
|
+
self.logger.warning(msg)
|
|
2107
|
+
print(msg)
|
|
2108
|
+
print(self.get_transactional_transform_api(only_online_sources=True))
|
|
2107
2109
|
|
|
2108
2110
|
if not metrics_calculation:
|
|
2109
2111
|
transform_usage = self.rest_client.get_current_transform_usage(trace_id)
|
|
@@ -216,6 +216,7 @@ imbalanced_target=\nTarget is imbalanced and will be undersampled. Frequency of
|
|
|
216
216
|
loss_selection_info=Using loss `{}` for feature selection
|
|
217
217
|
loss_calc_metrics_info=Using loss `{}` for metrics calculation with default estimator
|
|
218
218
|
forced_balance_undersample=For quick data retrieval, your dataset has been sampled. To use data search without data sampling please contact support (sales@upgini.com)
|
|
219
|
+
online_api_features_transform=Please note that some of the selected features {} are provided through a slow enrichment interface and are not available via transformation. However, they can be accessed via the API:
|
|
219
220
|
|
|
220
221
|
# Validation table
|
|
221
222
|
validation_column_name_header=Column name
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
upgini/__about__.py,sha256=
|
|
1
|
+
upgini/__about__.py,sha256=EgQ1MiQfB_Iz8iY16FS_iR_oJRN6od4gCPSuEnWKqq8,23
|
|
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=rUBE7_G7CLaaHAviFEyVPqjVSsX1DaLmi1dGFQR-eEo,32279
|
|
5
5
|
upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
|
|
6
|
-
upgini/features_enricher.py,sha256=
|
|
6
|
+
upgini/features_enricher.py,sha256=ZLDFUNamDbHdz9NTgSKWKHYXYjFg2gXhwkfSFwJlbUk,195316
|
|
7
7
|
upgini/http.py,sha256=plZGTGoi1h2edd8Cnjt4eYB8t4NbBGnZz7DtPTByiNc,42885
|
|
8
8
|
upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
|
|
9
9
|
upgini/metadata.py,sha256=sB5uU-fdz_dA6g-PO6A8FzwIfDbkcFOewcpNs2xZzoY,11943
|
|
@@ -30,7 +30,7 @@ upgini/normalizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
30
30
|
upgini/normalizer/normalize_utils.py,sha256=Ft2MwSgVoBilXAORAOYAuwPD79GOLfwn4qQE3IUFzzg,7218
|
|
31
31
|
upgini/resource_bundle/__init__.py,sha256=S5F2G47pnJd2LDpmFsjDqEwiKkP8Hm-hcseDbMka6Ko,8345
|
|
32
32
|
upgini/resource_bundle/exceptions.py,sha256=5fRvx0_vWdE1-7HcSgF0tckB4A9AKyf5RiinZkInTsI,621
|
|
33
|
-
upgini/resource_bundle/strings.properties,sha256=
|
|
33
|
+
upgini/resource_bundle/strings.properties,sha256=uQWmbcd9TJh-xE0QpmHpHYKw-20utvXeHwFA-U_iTLw,27302
|
|
34
34
|
upgini/resource_bundle/strings_widget.properties,sha256=gOdqvZWntP2LCza_tyVk1_yRYcG4c04K9sQOAVhF_gw,1577
|
|
35
35
|
upgini/sampler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
upgini/sampler/base.py,sha256=7GpjYqjOp58vYcJLiX__1R5wjUlyQbxvHJ2klFnup_M,6389
|
|
@@ -59,7 +59,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
|
|
|
59
59
|
upgini/utils/target_utils.py,sha256=Ed5IXkPjV9AfAZQAwCYksAmKaPGQliplvDYS_yeWdfk,11330
|
|
60
60
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
|
61
61
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
|
62
|
-
upgini-1.2.
|
|
63
|
-
upgini-1.2.
|
|
64
|
-
upgini-1.2.
|
|
65
|
-
upgini-1.2.
|
|
62
|
+
upgini-1.2.37.dist-info/METADATA,sha256=RBv8idl1y_KpG56ec1HjQ1OclhEgy64Z5ItZHp5ASSc,48594
|
|
63
|
+
upgini-1.2.37.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
64
|
+
upgini-1.2.37.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
65
|
+
upgini-1.2.37.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|