upgini 1.2.68a3832.dev7__py3-none-any.whl → 1.2.68a3832.dev8__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.2.68a3832.dev7"
1
+ __version__ = "1.2.68a3832.dev8"
upgini/metrics.py CHANGED
@@ -491,8 +491,12 @@ class EstimatorWrapper:
491
491
  }
492
492
  if estimator is None:
493
493
  params = {}
494
- # if metric_name.upper() in SUPPORTED_CATBOOST_METRICS:
495
- # params["eval_metric"] = SUPPORTED_CATBOOST_METRICS[metric_name.upper()]
494
+ # emb_pattern = r"(.+)_emb\d+"
495
+ # emb_features = [c for c in x.columns if re.match(emb_pattern, c) and is_numeric_dtype(x[c])]
496
+ # max_bin_by_feature_type = {
497
+ # feature: 63 if feature in emb_features else 255 for feature in x.columns
498
+ # }
499
+ # params["max_bin_by_feature_type"] = max_bin_by_feature_type
496
500
  if target_type == ModelTaskType.MULTICLASS:
497
501
  # params = _get_add_params(params, CATBOOST_MULTICLASS_PARAMS)
498
502
  # params = _get_add_params(params, add_params)
@@ -764,12 +768,6 @@ class LightGBMWrapper(EstimatorWrapper):
764
768
  x, y, groups, params = super()._prepare_to_fit(x, y)
765
769
  if self.target_type == ModelTaskType.MULTICLASS:
766
770
  params["num_class"] = y.nunique()
767
- emb_pattern = r"(.+)_emb\d+"
768
- emb_features = [c for c in x.columns if re.match(emb_pattern, c) and is_numeric_dtype(x[c])]
769
- max_bin_by_feature_type = {
770
- feature: 63 if feature in emb_features else 255 for feature in x.columns
771
- }
772
- params["max_bin_by_feature_type"] = max_bin_by_feature_type
773
771
  self.cat_features = _get_cat_features(x)
774
772
  x = fill_na_cat_features(x, self.cat_features)
775
773
  for feature in self.cat_features:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.68a3832.dev7
3
+ Version: 1.2.68a3832.dev8
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=CR4sN9ZhYNXzf0xJ61KtPk3O9k_pn-EljmzdfIfJyoM,33
1
+ upgini/__about__.py,sha256=KMZpRXK_ksEVGZxYvE4jNHZgG-Ce5Wv3Crjnd_eiTNE,33
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
@@ -7,7 +7,7 @@ upgini/features_enricher.py,sha256=GXXx14jwf3F26_KrfJ6O40Vcu1hRx5iBjUB_jxy3Xvg,2
7
7
  upgini/http.py,sha256=ud0Cp7h0jNeHuuZGpU_1dAAEiabGoJjGxc1X5oeBQr4,43496
8
8
  upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
9
9
  upgini/metadata.py,sha256=Jh6YTaS00m_nbaOY_owvlSyn9zgkErkqu8iTr9ZjKI8,12279
10
- upgini/metrics.py,sha256=onr-wFpP0idy0SH3Wxv2xnqxT5H5MiP70o44f1PhfFw,38808
10
+ upgini/metrics.py,sha256=1YFj2tmnOYLL4-ZXNZJDYclZADX0w6556DlN6TOlZ44,38686
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
@@ -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.dev7.dist-info/METADATA,sha256=LZ6mg6092FrqWu_yNWdMKTMgOC9lYclcPCQFLyMQAW0,49149
74
- upgini-1.2.68a3832.dev7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
- upgini-1.2.68a3832.dev7.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
- upgini-1.2.68a3832.dev7.dist-info/RECORD,,
73
+ upgini-1.2.68a3832.dev8.dist-info/METADATA,sha256=LQi_ixiFjU2qIyoVie4__YDTl_2Tzp6bGlZHFLT5PP4,49149
74
+ upgini-1.2.68a3832.dev8.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
+ upgini-1.2.68a3832.dev8.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
+ upgini-1.2.68a3832.dev8.dist-info/RECORD,,