upgini 1.2.14a3__py3-none-any.whl → 1.2.14a4__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.14a3"
1
+ __version__ = "1.2.14a4"
@@ -176,6 +176,7 @@ def balance_undersample(
176
176
  ),
177
177
  )
178
178
  sample_strategy[class_value] = int(sample_size)
179
+ logger.info(f"Rebalance sample strategy: {sample_strategy}. Min class count: {min_class_count}")
179
180
  sampler = RandomUnderSampler(sampling_strategy=sample_strategy, random_state=random_state)
180
181
  X = df[SYSTEM_RECORD_ID]
181
182
  X = X.to_frame(SYSTEM_RECORD_ID)
@@ -200,6 +201,10 @@ def balance_undersample(
200
201
  max_class_count,
201
202
  binary_bootstrap_loops * (min_class_count + max(binary_min_sample_threshold - 2 * min_class_count, 0)),
202
203
  )
204
+ logger.info(
205
+ f"Min class count: {min_class_count}. Max class count: {max_class_count}."
206
+ f" Rebalance sample size: {sample_size}"
207
+ )
203
208
  sampled_majority_class = majority_class.sample(n=sample_size, random_state=random_state)
204
209
  resampled_data = df[
205
210
  (df[SYSTEM_RECORD_ID].isin(minority_class[SYSTEM_RECORD_ID]))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.14a3
3
+ Version: 1.2.14a4
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=FtGXNn_dLawjJC8X1Icai3ZGyctjvAhmviJGa0zgVTM,25
1
+ upgini/__about__.py,sha256=tfhdEEoOzTUSKNF9hQy8PZO57ri0xEeduAwFCwtVLCg,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
@@ -54,10 +54,10 @@ upgini/utils/phone_utils.py,sha256=IrbztLuOJBiePqqxllfABWfYlfAjYevPhXKipl95wUI,1
54
54
  upgini/utils/postal_code_utils.py,sha256=5M0sUqH2DAr33kARWCTXR-ACyzWbjDq_-0mmEml6ZcU,1716
55
55
  upgini/utils/progress_bar.py,sha256=N-Sfdah2Hg8lXP_fV9EfUTXz_PyRt4lo9fAHoUDOoLc,1550
56
56
  upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,44511
57
- upgini/utils/target_utils.py,sha256=FsGRmZ2B9-Y1Mnkh2esz41nNgAUX2nleQRUmuDzjk_s,10133
57
+ upgini/utils/target_utils.py,sha256=3itoOxwEycnIdWeTL3KjuS_NdJleL6nMRqblQLmy6Kk,10413
58
58
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
59
59
  upgini/utils/warning_counter.py,sha256=dIWBB4dI5XRRJZudvIlqlIYKEiwLLPcXarsZuYRt338,227
60
- upgini-1.2.14a3.dist-info/METADATA,sha256=JIjXqPhg5R96xFOY1uDijJpO1LHxwkb-sh8Bf7Sc394,48579
61
- upgini-1.2.14a3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
- upgini-1.2.14a3.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
- upgini-1.2.14a3.dist-info/RECORD,,
60
+ upgini-1.2.14a4.dist-info/METADATA,sha256=iwhYx9Mru7TEEylcJbeOaZlnKVBcpMrnYXzNEU2M4fg,48579
61
+ upgini-1.2.14a4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
62
+ upgini-1.2.14a4.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
63
+ upgini-1.2.14a4.dist-info/RECORD,,