upgini 1.1.283__py3-none-any.whl → 1.1.284__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.283"
1
+ __version__ = "1.1.284"
upgini/metrics.py CHANGED
@@ -549,14 +549,21 @@ class CatBoostWrapper(EstimatorWrapper):
549
549
  except Exception as e:
550
550
  if "Dictionary size is 0" in e.args[0] and self.text_features:
551
551
  high_cardinality_features = FeaturesValidator.find_high_cardinality(x[self.text_features])
552
- self.logger.warning(
553
- "Calculate metrics has problem with CatBoost text features. Try to remove high cardinality"
554
- f" text features {high_cardinality_features} and retry"
555
- )
552
+ if len(high_cardinality_features) == 0:
553
+ high_cardinality_features = self.text_features
554
+ self.logger.warning(
555
+ "Calculate metrics has problem with CatBoost text features. High cardinality features not found"
556
+ f". Try to remove all text features {high_cardinality_features} and retry"
557
+ )
558
+ else:
559
+ self.logger.warning(
560
+ "Calculate metrics has problem with CatBoost text features. Try to remove high cardinality"
561
+ f" text features {high_cardinality_features} and retry"
562
+ )
556
563
  for f in high_cardinality_features:
557
564
  self.text_features.remove(f)
558
565
  self.exclude_features.append(f)
559
- x = x.drop(columns=f)
566
+ x = x.drop(columns=f, errors="ignore")
560
567
  return super().cross_val_predict(x, y, baseline_score_column)
561
568
  else:
562
569
  raise e
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.1.283
3
+ Version: 1.1.284
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,4 +1,4 @@
1
- upgini/__about__.py,sha256=Yk-Z6SJj95ar-_BLprxsbkj09zVLpY1asXBW6FCeJNY,24
1
+ upgini/__about__.py,sha256=nDI-Yx5FbPR6Ypp9ywFECEIUTCUuFhHhMahhqU8Larw,24
2
2
  upgini/__init__.py,sha256=asENHgEVHQBIkV-e_0IhE_ZWqkCG6398U3ZLrNzAH6k,407
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=7TLVVhGtjgx_9yaiaIUK3kZSe_R9wg5dY0d4F5qCGM4,45636
@@ -6,7 +6,7 @@ upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
6
  upgini/features_enricher.py,sha256=PU9i_5yUIF3ANxe6kJBC2GrDX9UNDQ0u8nJNSFkHxx8,177462
7
7
  upgini/http.py,sha256=khrYSldpY-HbVLCcApfV1BjBFK6Uyuatb4colKybxgY,42301
8
8
  upgini/metadata.py,sha256=CFJekYGD7Ep7pRFH7wCEcsXS4bz83do33FNmtcCY9P4,9729
9
- upgini/metrics.py,sha256=kCRJ5vCEN76EbVtA1OpKpk6jrxwbfyRFBFtB2fBuq1Y,30227
9
+ upgini/metrics.py,sha256=DLvA2YLV4f7lnzBCcfZ5T4NkqAv3pbstbjTepavuT7U,30688
10
10
  upgini/search_task.py,sha256=LtRJ9bCPjMo1gJ-sUDKERhDwGcWKImrzwVFHjkMSQHQ,17071
11
11
  upgini/spinner.py,sha256=4iMd-eIe_BnkqFEMIliULTbj6rNI2HkN_VJ4qYe0cUc,1118
12
12
  upgini/version_validator.py,sha256=RGg87VweujTNlibgsOuqPLIEiBgIOkuXNVTGuNCD234,1405
@@ -56,7 +56,7 @@ upgini/utils/sklearn_ext.py,sha256=N-eJrfAJxYpDPc85sKQyMFcIeL9Ug2lwlqDyS4jFOdE,4
56
56
  upgini/utils/target_utils.py,sha256=Y96_PJ5cC-WsEbeqg20v9uqywDQobLoTb-xoP7S3o4E,7807
57
57
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
58
58
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
59
- upgini-1.1.283.dist-info/METADATA,sha256=cA9D-x2iVHypz3vOiQ1BTiYJ6jqc1u7K-61_YLV0wks,48117
60
- upgini-1.1.283.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
- upgini-1.1.283.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
- upgini-1.1.283.dist-info/RECORD,,
59
+ upgini-1.1.284.dist-info/METADATA,sha256=dDV3y75wuSFvxeGRlh_IwhfMWn4qKG6YE_-Um4Drtmo,48117
60
+ upgini-1.1.284.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
61
+ upgini-1.1.284.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
62
+ upgini-1.1.284.dist-info/RECORD,,