upgini 1.2.71a3832.dev11__py3-none-any.whl → 1.2.71a3832.dev12__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.71a3832.dev11"
1
+ __version__ = "1.2.71a3832.dev12"
@@ -12,6 +12,7 @@ import tempfile
12
12
  import time
13
13
  import uuid
14
14
  from collections import Counter
15
+ from copy import deepcopy
15
16
  from dataclasses import dataclass
16
17
  from threading import Thread
17
18
  from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Union
@@ -3812,6 +3813,7 @@ if response.status_code == 200:
3812
3813
  features_meta = self._search_task.get_all_features_metadata_v2()
3813
3814
  if features_meta is None:
3814
3815
  raise Exception(self.bundle.get("missing_features_meta"))
3816
+ features_meta = deepcopy(features_meta)
3815
3817
 
3816
3818
  original_names_dict = {c.name: c.originalName for c in self._search_task.get_file_metadata(trace_id).columns}
3817
3819
  df = df.rename(columns=original_names_dict)
@@ -3854,6 +3856,7 @@ if response.status_code == 200:
3854
3856
  features_meta = self._search_task.get_all_features_metadata_v2()
3855
3857
  if features_meta is None:
3856
3858
  raise Exception(self.bundle.get("missing_features_meta"))
3859
+ features_meta = deepcopy(features_meta)
3857
3860
 
3858
3861
  original_names_dict = {c.name: c.originalName for c in self._search_task.get_file_metadata(trace_id).columns}
3859
3862
  features_df = self._search_task.get_all_initial_raw_features(trace_id, metrics_calculation=True)
@@ -4039,11 +4042,11 @@ if response.status_code == 200:
4039
4042
  if len(filtered_importances) == 0:
4040
4043
  return []
4041
4044
 
4042
- filtered_importances = list(zip(self.feature_names_, self.feature_importances_))
4043
-
4044
4045
  if importance_threshold is not None:
4045
4046
  filtered_importances = [
4046
- (name, importance) for name, importance in filtered_importances if importance > importance_threshold
4047
+ (name, importance)
4048
+ for name, importance in filtered_importances.items()
4049
+ if importance > importance_threshold
4047
4050
  ]
4048
4051
  if max_features is not None:
4049
4052
  filtered_importances = list(filtered_importances)[:max_features]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.71a3832.dev11
3
+ Version: 1.2.71a3832.dev12
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=MPYFg9v0SOhqTxe0IfYh4m6Nh3TlmyfHR9sua58WXBM,34
1
+ upgini/__about__.py,sha256=okx02f-XOrtKlpdtJnV-aHreGFvFkxZ5NQhd5zxvhMk,34
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=aspri7ZAgwkNNUiIgQ1GRXvw8XQii3F4RfNXSrF4wrw,35365
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
- upgini/features_enricher.py,sha256=oYOBaHIyPjm-EEZvJT9pU35_DW8bArEQKymZyhW8LbE,206592
6
+ upgini/features_enricher.py,sha256=DgWboHEhr5BQT87MaAo2iUtrhapP3iqczLeZtWLRkDs,206664
7
7
  upgini/http.py,sha256=RvzcShpDXssLs6ycGN8xilkKi8ZV9XGUrrk8bwdUzbw,43607
8
8
  upgini/metadata.py,sha256=Yd6iW2f7Wz6vUkg5uvR4xylN16ANnCKVKqAsAkap7p8,12354
9
9
  upgini/metrics.py,sha256=9AaQi7Yb22ZNnycUOAUpcP7TWF5Pfy_NGACcDj10aMs,38820
@@ -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.71a3832.dev11.dist-info/METADATA,sha256=QuI4m49RjcWmDJ74fXMWfNqBKPXGKDsKGhhO_wR1Kfw,49102
74
- upgini-1.2.71a3832.dev11.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
- upgini-1.2.71a3832.dev11.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
- upgini-1.2.71a3832.dev11.dist-info/RECORD,,
73
+ upgini-1.2.71a3832.dev12.dist-info/METADATA,sha256=8jmuNEDPwjc-Wa6Bds0FjYqYgqf3LFMYyRGUDy5DME8,49102
74
+ upgini-1.2.71a3832.dev12.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
75
+ upgini-1.2.71a3832.dev12.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
76
+ upgini-1.2.71a3832.dev12.dist-info/RECORD,,