upgini 1.2.24__py3-none-any.whl → 1.2.24a1__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.
- upgini/__about__.py +1 -1
- upgini/metrics.py +1 -2
- upgini/utils/deduplicate_utils.py +2 -2
- {upgini-1.2.24.dist-info → upgini-1.2.24a1.dist-info}/METADATA +1 -1
- {upgini-1.2.24.dist-info → upgini-1.2.24a1.dist-info}/RECORD +7 -7
- {upgini-1.2.24.dist-info → upgini-1.2.24a1.dist-info}/WHEEL +0 -0
- {upgini-1.2.24.dist-info → upgini-1.2.24a1.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.24a1"
|
upgini/metrics.py
CHANGED
|
@@ -437,8 +437,7 @@ class EstimatorWrapper:
|
|
|
437
437
|
f"Client cat_feature `{cat_feature}` not found in x columns: {x.columns.to_list()}"
|
|
438
438
|
)
|
|
439
439
|
estimator_copy.set_params(
|
|
440
|
-
|
|
441
|
-
cat_features=cat_features
|
|
440
|
+
cat_features=[x.columns.get_loc(cat_feature) for cat_feature in cat_features]
|
|
442
441
|
)
|
|
443
442
|
estimator = CatBoostWrapper(**kwargs)
|
|
444
443
|
else:
|
|
@@ -24,7 +24,7 @@ def remove_fintech_duplicates(
|
|
|
24
24
|
date_format: Optional[str] = None,
|
|
25
25
|
logger: Optional[Logger] = None,
|
|
26
26
|
bundle: ResourceBundle = None,
|
|
27
|
-
) ->
|
|
27
|
+
) -> tuple[pd.DataFrame, Optional[List[str]]]:
|
|
28
28
|
# Initial checks for target type and date column
|
|
29
29
|
bundle = bundle or get_custom_bundle()
|
|
30
30
|
if logger is None:
|
|
@@ -60,7 +60,7 @@ def remove_fintech_duplicates(
|
|
|
60
60
|
|
|
61
61
|
warning_messages = []
|
|
62
62
|
|
|
63
|
-
def process_df(segment_df: pd.DataFrame, eval_index=0) ->
|
|
63
|
+
def process_df(segment_df: pd.DataFrame, eval_index=0) -> tuple[pd.DataFrame, Optional[str]]:
|
|
64
64
|
"""Process a subset of the dataset to remove duplicates based on personal keys."""
|
|
65
65
|
# Fast check for duplicates based on personal keys
|
|
66
66
|
if not segment_df[personal_cols].duplicated().any():
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
upgini/__about__.py,sha256=
|
|
1
|
+
upgini/__about__.py,sha256=TCYncqb9tQ1P6IPCnFvo0uTWg2scIXJ42Ey9L3G22qo,25
|
|
2
2
|
upgini/__init__.py,sha256=M64LwQTBa-5Jz24Zm2h8rWwlKQQ1J8nP7gGgIciS0WU,589
|
|
3
3
|
upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
|
|
4
4
|
upgini/dataset.py,sha256=iPFiMJtk4HF1ytw9wCQr8H9RfoOKj_TIo8XYZKWgcMc,31331
|
|
@@ -7,7 +7,7 @@ upgini/features_enricher.py,sha256=rctS3kRWwTJmU5X203t7sUZ_B40XYVBPeXy_0hPw2Ec,1
|
|
|
7
7
|
upgini/http.py,sha256=21asexflvavydzCOONJDGQBtQanCElrbnqLXakJ9Cu8,42880
|
|
8
8
|
upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
|
|
9
9
|
upgini/metadata.py,sha256=osmzdNESeh7yP3BZday6N9Q3eaIHfzhhRM1d6NSgcf0,11223
|
|
10
|
-
upgini/metrics.py,sha256=
|
|
10
|
+
upgini/metrics.py,sha256=SRTtQyrX_yIlOO1wSfq8R1FFTVABnl0FOYKqlmQEZGo,34536
|
|
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=h1GViOWzULy5vf6M4dpTJuIk-4V38UCrTY1sb9yLa5I,1594
|
|
@@ -43,7 +43,7 @@ upgini/utils/country_utils.py,sha256=lY-eXWwFVegdVENFttbvLcgGDjFO17Sex8hd2PyJaRk
|
|
|
43
43
|
upgini/utils/custom_loss_utils.py,sha256=kieNZYBYZm5ZGBltF1F_jOSF4ea6C29rYuCyiDcqVNY,3857
|
|
44
44
|
upgini/utils/cv_utils.py,sha256=w6FQb9nO8BWDx88EF83NpjPLarK4eR4ia0Wg0kLBJC4,3525
|
|
45
45
|
upgini/utils/datetime_utils.py,sha256=a8X4jX2y3-6E7ZNZIG5z61qfzCvsvaNEjR1Bi5KUqfM,11279
|
|
46
|
-
upgini/utils/deduplicate_utils.py,sha256=
|
|
46
|
+
upgini/utils/deduplicate_utils.py,sha256=kINO1KoH8kPRA3JSYogzv4jaUP1Ceguv5etBPtLcsSw,8855
|
|
47
47
|
upgini/utils/display_utils.py,sha256=NGhki1aGMsS8OeI69eLXEpmS_s41k8ojKHQxacJaXiU,11493
|
|
48
48
|
upgini/utils/email_utils.py,sha256=j0Ug1R_0AnCg1Y92zIZ4XMwvKo3G5_pcOlBN1OH_gZs,5191
|
|
49
49
|
upgini/utils/fallback_progress_bar.py,sha256=PDaKb8dYpVZaWMroNcOHsTc3pSjgi9mOm0--cOFTwJ0,1074
|
|
@@ -57,7 +57,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
|
|
|
57
57
|
upgini/utils/target_utils.py,sha256=qHzZRmICFbLNCrmVqGkaBcjm91L2ERRZMppci36acV4,10085
|
|
58
58
|
upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
|
|
59
59
|
upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
|
|
60
|
-
upgini-1.2.
|
|
61
|
-
upgini-1.2.
|
|
62
|
-
upgini-1.2.
|
|
63
|
-
upgini-1.2.
|
|
60
|
+
upgini-1.2.24a1.dist-info/METADATA,sha256=EUaoN3ViaM5Al2JbZCmR_pZAjslGQQy4Q5IngbvOD3Q,48580
|
|
61
|
+
upgini-1.2.24a1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
62
|
+
upgini-1.2.24a1.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
63
|
+
upgini-1.2.24a1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|