upgini 1.2.44__py3-none-any.whl → 1.2.45__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.44"
1
+ __version__ = "1.2.45"
upgini/dataset.py CHANGED
@@ -33,7 +33,6 @@ from upgini.metadata import (
33
33
  NumericInterval,
34
34
  RuntimeParameters,
35
35
  SearchCustomization,
36
- SearchKey,
37
36
  )
38
37
  from upgini.resource_bundle import ResourceBundle, get_custom_bundle
39
38
  from upgini.search_task import SearchTask
@@ -646,8 +645,9 @@ class Dataset: # (pd.DataFrame):
646
645
  with tempfile.TemporaryDirectory() as tmp_dir:
647
646
  parquet_file_path = self.prepare_uploading_file(tmp_dir)
648
647
  time.sleep(1) # this is neccesary to avoid requests rate limit restrictions
649
- time_left = time.time() - start_time
650
- search_progress = SearchProgress(2.0, ProgressStage.CREATING_FIT, time_left)
648
+ # If previous steps were too fast, time estimation could be calculated incorrectly
649
+ time_left = max(time.time() - start_time, 20)
650
+ search_progress = SearchProgress(1.0, ProgressStage.CREATING_FIT, time_left)
651
651
  if progress_bar is not None:
652
652
  progress_bar.progress = search_progress.to_progress_bar()
653
653
  if progress_callback is not None:
@@ -699,7 +699,7 @@ class Dataset: # (pd.DataFrame):
699
699
  runtime_parameters=runtime_parameters,
700
700
  metrics_calculation=metrics_calculation,
701
701
  )
702
- seconds_left = time.time() - start_time
702
+ seconds_left = max(time.time() - start_time, 20)
703
703
  search_progress = SearchProgress(1.0, ProgressStage.CREATING_TRANSFORM, seconds_left)
704
704
  if progress_bar is not None:
705
705
  progress_bar.progress = search_progress.to_progress_bar()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.44
3
+ Version: 1.2.45
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,7 +1,7 @@
1
- upgini/__about__.py,sha256=tZ6_k-1uqq2cr3SCnYO9N-chw-LhbafQ_arSm_DOlLs,23
1
+ upgini/__about__.py,sha256=TdZZy40X_55kxtHKjwbGqPrDr5qQe_uUz_Fvup_EuNI,23
2
2
  upgini/__init__.py,sha256=LXSfTNU0HnlOkE69VCxkgIKDhWP-JFo_eBQ71OxTr5Y,261
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
- upgini/dataset.py,sha256=d9VlOs9hTf6eL8TX_9bO400HQj3y_jVGthABvQJqONs,33350
4
+ upgini/dataset.py,sha256=WfCg7x_HREGwbFNlF-CTSk-KZzkGYlT7PtZdiJfuzLM,33452
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
6
  upgini/features_enricher.py,sha256=QQaK682uFjrkvDOt-ub7UFMAEy6SVjPQubb6dY_7moE,199109
7
7
  upgini/http.py,sha256=plZGTGoi1h2edd8Cnjt4eYB8t4NbBGnZz7DtPTByiNc,42885
@@ -59,7 +59,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
59
59
  upgini/utils/target_utils.py,sha256=RlpKGss9kMibVSlA8iZuO_qxmyeplqzn7X8g6hiGGGs,14341
60
60
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
61
61
  upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
62
- upgini-1.2.44.dist-info/METADATA,sha256=2IrvXuScwwbpIwePrfDjVpZN4jiz3STJhs4vET2Hl40,49055
63
- upgini-1.2.44.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
64
- upgini-1.2.44.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
65
- upgini-1.2.44.dist-info/RECORD,,
62
+ upgini-1.2.45.dist-info/METADATA,sha256=nv_TxkRQegnVyCPp8Wj5iyVbA08rQ2FWTKdoPTm20Gg,49055
63
+ upgini-1.2.45.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
64
+ upgini-1.2.45.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
65
+ upgini-1.2.45.dist-info/RECORD,,