upgini 1.2.68a3832.dev9__py3-none-any.whl → 1.2.68a3832.dev11__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/http.py +6 -4
- upgini/metrics.py +4 -1
- upgini/utils/deduplicate_utils.py +2 -0
- {upgini-1.2.68a3832.dev9.dist-info → upgini-1.2.68a3832.dev11.dist-info}/METADATA +1 -1
- {upgini-1.2.68a3832.dev9.dist-info → upgini-1.2.68a3832.dev11.dist-info}/RECORD +8 -8
- {upgini-1.2.68a3832.dev9.dist-info → upgini-1.2.68a3832.dev11.dist-info}/WHEEL +0 -0
- {upgini-1.2.68a3832.dev9.dist-info → upgini-1.2.68a3832.dev11.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.68a3832.
|
|
1
|
+
__version__ = "1.2.68a3832.dev11"
|
upgini/http.py
CHANGED
|
@@ -342,7 +342,7 @@ class _RestClient:
|
|
|
342
342
|
else:
|
|
343
343
|
return self._syncronized_refresh_access_token()
|
|
344
344
|
|
|
345
|
-
def _with_unauth_retry(self, request, try_number: int = 0, need_connection_retry: bool = True):
|
|
345
|
+
def _with_unauth_retry(self, request, try_number: int = 0, need_connection_retry: bool = True, silent: bool = False):
|
|
346
346
|
try:
|
|
347
347
|
return request()
|
|
348
348
|
except RequestException as e:
|
|
@@ -373,8 +373,9 @@ class _RestClient:
|
|
|
373
373
|
elif "more than one concurrent search request" in e.message.lower():
|
|
374
374
|
raise ValidationError(bundle.get("concurrent_request"))
|
|
375
375
|
else:
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
if not silent:
|
|
377
|
+
print(e)
|
|
378
|
+
show_status_error()
|
|
378
379
|
raise e
|
|
379
380
|
|
|
380
381
|
@staticmethod
|
|
@@ -706,6 +707,7 @@ class _RestClient:
|
|
|
706
707
|
silent=True,
|
|
707
708
|
),
|
|
708
709
|
need_connection_retry=False,
|
|
710
|
+
silent=True,
|
|
709
711
|
)
|
|
710
712
|
except Exception:
|
|
711
713
|
self.send_log_event_unauth(log_event)
|
|
@@ -716,7 +718,7 @@ class _RestClient:
|
|
|
716
718
|
try:
|
|
717
719
|
requests.post(
|
|
718
720
|
url=urljoin(_RestClient.PROD_BACKEND_URL, api_path),
|
|
719
|
-
json=log_event.
|
|
721
|
+
json=log_event.model_dump(exclude_none=True),
|
|
720
722
|
headers=_RestClient._get_base_headers(content_type="application/json"),
|
|
721
723
|
)
|
|
722
724
|
except Exception:
|
upgini/metrics.py
CHANGED
|
@@ -127,8 +127,11 @@ LIGHTGBM_MULTICLASS_PARAMS = {
|
|
|
127
127
|
"cat_smooth": 12,
|
|
128
128
|
"learning_rate": 0.25, # CatBoost 0.25
|
|
129
129
|
"min_sum_hessian_in_leaf": 0.01,
|
|
130
|
-
"objective": "softmax",
|
|
131
130
|
"class_weight": "balanced", # TODO pass dict with weights for each class
|
|
131
|
+
"objective": "multiclass",
|
|
132
|
+
"use_quantized_grad": "true",
|
|
133
|
+
"num_grad_quant_bins": "8",
|
|
134
|
+
"stochastic_rounding": "true",
|
|
132
135
|
"verbosity": -1,
|
|
133
136
|
}
|
|
134
137
|
|
|
@@ -74,6 +74,8 @@ def remove_fintech_duplicates(
|
|
|
74
74
|
# Checking for different dates by the same personal keys
|
|
75
75
|
uniques = grouped_by_personal_cols[date_col].nunique()
|
|
76
76
|
total = len(uniques)
|
|
77
|
+
if total == 0:
|
|
78
|
+
return segment_df, None
|
|
77
79
|
diff_dates = len(uniques[uniques > 1])
|
|
78
80
|
if diff_dates / total >= 0.6:
|
|
79
81
|
return segment_df, None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: upgini
|
|
3
|
-
Version: 1.2.68a3832.
|
|
3
|
+
Version: 1.2.68a3832.dev11
|
|
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,13 +1,13 @@
|
|
|
1
|
-
upgini/__about__.py,sha256=
|
|
1
|
+
upgini/__about__.py,sha256=FHxKPbel61kriZ95nJ1DHcw_C7UB_VsToBUuASbN8SU,34
|
|
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=1rb6BzyuiQFGVCTDmKL2wox3UFRNjtNaIJOwQnZ801A,34956
|
|
5
5
|
upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
|
|
6
6
|
upgini/features_enricher.py,sha256=GXXx14jwf3F26_KrfJ6O40Vcu1hRx5iBjUB_jxy3Xvg,205476
|
|
7
|
-
upgini/http.py,sha256=
|
|
7
|
+
upgini/http.py,sha256=XybD-5CIIs2dADTrZFsQNGEGaN2gbJNYXW2tMZ9tLKY,43592
|
|
8
8
|
upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
|
|
9
9
|
upgini/metadata.py,sha256=Jh6YTaS00m_nbaOY_owvlSyn9zgkErkqu8iTr9ZjKI8,12279
|
|
10
|
-
upgini/metrics.py,sha256=
|
|
10
|
+
upgini/metrics.py,sha256=GVvpBADnIfU2dg-YALwfsT-DUgJs0sv0IhzGkEFRgFs,37733
|
|
11
11
|
upgini/search_task.py,sha256=qxUxAD-bed-FpZYmTB_4orW7YJsW_O6a1TcgnZIRFr4,17307
|
|
12
12
|
upgini/spinner.py,sha256=4iMd-eIe_BnkqFEMIliULTbj6rNI2HkN_VJ4qYe0cUc,1118
|
|
13
13
|
upgini/version_validator.py,sha256=DvbaAvuYFoJqYt0fitpsk6Xcv-H1BYDJYHUMxaKSH_Y,1509
|
|
@@ -52,7 +52,7 @@ upgini/utils/country_utils.py,sha256=lY-eXWwFVegdVENFttbvLcgGDjFO17Sex8hd2PyJaRk
|
|
|
52
52
|
upgini/utils/custom_loss_utils.py,sha256=kieNZYBYZm5ZGBltF1F_jOSF4ea6C29rYuCyiDcqVNY,3857
|
|
53
53
|
upgini/utils/cv_utils.py,sha256=w6FQb9nO8BWDx88EF83NpjPLarK4eR4ia0Wg0kLBJC4,3525
|
|
54
54
|
upgini/utils/datetime_utils.py,sha256=_jq-kn_dGNFfs-DGXcWCGzy9bkplfAjrZ8SsmN28zXc,13535
|
|
55
|
-
upgini/utils/deduplicate_utils.py,sha256=
|
|
55
|
+
upgini/utils/deduplicate_utils.py,sha256=AcMLoObMjhOTQ_fMS1LWy0GKp6WXnZ-FNux_8V3nbZU,8914
|
|
56
56
|
upgini/utils/display_utils.py,sha256=DsBjJ8jEYAh8BPgfAbzq5imoGFV6IACP20PQ78BQCX0,11964
|
|
57
57
|
upgini/utils/email_utils.py,sha256=pZ2vCfNxLIPUhxr0-OlABNXm12jjU44isBk8kGmqQzA,5277
|
|
58
58
|
upgini/utils/fallback_progress_bar.py,sha256=PDaKb8dYpVZaWMroNcOHsTc3pSjgi9mOm0--cOFTwJ0,1074
|
|
@@ -70,7 +70,7 @@ upgini/utils/target_utils.py,sha256=b1GzO8_gMcwXSZ2v98CY50MJJBzKbWHId_BJGybXfkM,
|
|
|
70
70
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
|
71
71
|
upgini/utils/ts_utils.py,sha256=26vhC0pN7vLXK6R09EEkMK3Lwb9IVPH7LRdqFIQ3kPs,1383
|
|
72
72
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
|
73
|
-
upgini-1.2.68a3832.
|
|
74
|
-
upgini-1.2.68a3832.
|
|
75
|
-
upgini-1.2.68a3832.
|
|
76
|
-
upgini-1.2.68a3832.
|
|
73
|
+
upgini-1.2.68a3832.dev11.dist-info/METADATA,sha256=RyP4BIwOYSdcXHd2QbSWXxricuznF-v0GTjWc-bSLZM,49150
|
|
74
|
+
upgini-1.2.68a3832.dev11.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
75
|
+
upgini-1.2.68a3832.dev11.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
76
|
+
upgini-1.2.68a3832.dev11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|