upgini 1.1.300__py3-none-any.whl → 1.1.301__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.1.300"
1
+ __version__ = "1.1.301"
@@ -3186,7 +3186,9 @@ class FeaturesEnricher(TransformerMixin):
3186
3186
 
3187
3187
  if rows_to_drop is not None:
3188
3188
  self.logger.info(f"Before dropping target outliers size: {len(result_features)}")
3189
- result_features = result_features[~result_features[SYSTEM_RECORD_ID].isin(rows_to_drop[SYSTEM_RECORD_ID])]
3189
+ result_features = result_features[
3190
+ ~result_features[ENTITY_SYSTEM_RECORD_ID].isin(rows_to_drop[ENTITY_SYSTEM_RECORD_ID])
3191
+ ]
3190
3192
  self.logger.info(f"After dropping target outliers size: {len(result_features)}")
3191
3193
 
3192
3194
  result_eval_sets = {}
@@ -3219,11 +3221,11 @@ class FeaturesEnricher(TransformerMixin):
3219
3221
  result_train = result_train_features
3220
3222
 
3221
3223
  if drop_system_record_id:
3222
- if SYSTEM_RECORD_ID in result_train.columns:
3223
- result_train = result_train.drop(columns=SYSTEM_RECORD_ID)
3224
+ result_train = result_train.drop(columns=[SYSTEM_RECORD_ID, ENTITY_SYSTEM_RECORD_ID], errors="ignore")
3224
3225
  for eval_set_index in result_eval_sets.keys():
3225
- if SYSTEM_RECORD_ID in result_eval_sets[eval_set_index].columns:
3226
- result_eval_sets[eval_set_index] = result_eval_sets[eval_set_index].drop(columns=SYSTEM_RECORD_ID)
3226
+ result_eval_sets[eval_set_index] = result_eval_sets[eval_set_index].drop(
3227
+ columns=[SYSTEM_RECORD_ID, ENTITY_SYSTEM_RECORD_ID], errors="ignore"
3228
+ )
3227
3229
 
3228
3230
  return result_train, result_eval_sets
3229
3231
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.300
3
+ Version: 1.1.301
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,9 +1,9 @@
1
- upgini/__about__.py,sha256=IcfjUPTVJrTs-NV6tcVvLWMSPbW14GYerq2VeSrrzc0,24
1
+ upgini/__about__.py,sha256=L11AcDL4xom7Zln7UryeDX6XjWGUw7VdTIlPlnfMwTc,24
2
2
  upgini/__init__.py,sha256=ObEtjFkIssl83qeKNMLpIQygfwK8TzztwiI43YTsAP0,353
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=MOzBVsvzlHLxNfPWtMaXC_jIPeW7_gUvbSGeXnsPgNI,46158
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
- upgini/features_enricher.py,sha256=nweJzEV8ZbDN5wvf5Gdf-HgcNz7711gNgmRxz4ZUopI,183112
6
+ upgini/features_enricher.py,sha256=OW3aQ0vyaKMrxWBhptdvb_SAxNqf7H6jssOFdfW20mc,183136
7
7
  upgini/http.py,sha256=bp6jWl422Icy3AhHMdCcJv5NjExE45gSMmzMTPJjPuk,42600
8
8
  upgini/lazy_import.py,sha256=EwoM0msNGbSmWBhGbrLDny1DSnOlvTxCjmMKPxYlDms,610
9
9
  upgini/metadata.py,sha256=wOFCJruDBhC4Hiiiqf8GeHZnnm6rhJy8t6fg5B0Z4TQ,10209
@@ -57,7 +57,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
57
57
  upgini/utils/target_utils.py,sha256=Y96_PJ5cC-WsEbeqg20v9uqywDQobLoTb-xoP7S3o4E,7807
58
58
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
59
59
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
60
- upgini-1.1.300.dist-info/METADATA,sha256=hLE9o5ZxxN1PnP4WR6ZUnp5yFpEb1cbVSwWEOiQDZBE,48153
61
- upgini-1.1.300.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
- upgini-1.1.300.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
- upgini-1.1.300.dist-info/RECORD,,
60
+ upgini-1.1.301.dist-info/METADATA,sha256=DzWKpZGrQ1cMxlEFVzE0GFg3Zl64sJvjYydjx4u6xhA,48153
61
+ upgini-1.1.301.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
+ upgini-1.1.301.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
+ upgini-1.1.301.dist-info/RECORD,,