upgini 1.2.81a3832.dev2__py3-none-any.whl → 1.2.81a3832.dev4__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 +1 -1
- upgini/metrics.py +5 -5
- {upgini-1.2.81a3832.dev2.dist-info → upgini-1.2.81a3832.dev4.dist-info}/METADATA +2 -2
- {upgini-1.2.81a3832.dev2.dist-info → upgini-1.2.81a3832.dev4.dist-info}/RECORD +6 -6
- {upgini-1.2.81a3832.dev2.dist-info → upgini-1.2.81a3832.dev4.dist-info}/WHEEL +0 -0
- {upgini-1.2.81a3832.dev2.dist-info → upgini-1.2.81a3832.dev4.dist-info}/licenses/LICENSE +0 -0
upgini/__about__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.2.81a3832.
|
1
|
+
__version__ = "1.2.81a3832.dev4"
|
upgini/metrics.py
CHANGED
@@ -623,8 +623,8 @@ class CatBoostWrapper(EstimatorWrapper):
|
|
623
623
|
emb_name = "__grouped_embeddings"
|
624
624
|
df = df.copy()
|
625
625
|
df[self.emb_features] = df[self.emb_features].fillna(0.0)
|
626
|
-
|
627
|
-
df = df.drop(columns=self.emb_features)
|
626
|
+
embeddings_series = pd.Series(df[self.emb_features].values.tolist(), index=df.index)
|
627
|
+
df = pd.concat([df.drop(columns=self.emb_features), pd.DataFrame({emb_name: embeddings_series})], axis=1)
|
628
628
|
|
629
629
|
return df, [emb_name]
|
630
630
|
|
@@ -965,11 +965,11 @@ def _get_cat_features(
|
|
965
965
|
drop_cat_features = []
|
966
966
|
for name in cat_features:
|
967
967
|
# Remove constant categorical features
|
968
|
-
if x[name].nunique() > 1:
|
968
|
+
if x[name].nunique(dropna=False) > 1:
|
969
969
|
unique_cat_features.append(name)
|
970
970
|
else:
|
971
|
-
logger.
|
972
|
-
x
|
971
|
+
logger.warning(f"Drop column {name} on preparing data for fit")
|
972
|
+
x.drop(columns=name, inplace=True)
|
973
973
|
drop_cat_features.append(name)
|
974
974
|
cat_features = unique_cat_features
|
975
975
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: upgini
|
3
|
-
Version: 1.2.81a3832.
|
3
|
+
Version: 1.2.81a3832.dev4
|
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/
|
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
23
23
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
24
24
|
Requires-Python: <3.12,>=3.10
|
25
|
-
Requires-Dist: catboost>=1.
|
25
|
+
Requires-Dist: catboost>=1.0.3
|
26
26
|
Requires-Dist: category-encoders>=2.8.1
|
27
27
|
Requires-Dist: fastparquet>=0.8.1
|
28
28
|
Requires-Dist: ipywidgets>=8.1.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
upgini/__about__.py,sha256=
|
1
|
+
upgini/__about__.py,sha256=pCwu34y7lahquDqU9yxAiDAS0JO7ZeCM2pE16RyFW4w,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=aspri7ZAgwkNNUiIgQ1GRXvw8XQii3F4RfNXSrF4wrw,35365
|
@@ -6,7 +6,7 @@ upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
|
|
6
6
|
upgini/features_enricher.py,sha256=WiSVfmlHI9oKJQbyf46FH0yY80hBJ6hheFpugw0f_vE,210583
|
7
7
|
upgini/http.py,sha256=AfaJ3c8z_tK2hZFEehNybDKE0mp1tYcyAP_l0_p8bLQ,43933
|
8
8
|
upgini/metadata.py,sha256=Yd6iW2f7Wz6vUkg5uvR4xylN16ANnCKVKqAsAkap7p8,12354
|
9
|
-
upgini/metrics.py,sha256=
|
9
|
+
upgini/metrics.py,sha256=I3ad9pcB2ODf4HNETXtVeM6YA8aymUamWtYA0nvIt7Y,39720
|
10
10
|
upgini/search_task.py,sha256=RcvAE785yksWTsTNWuZFVNlk32jHElMoEna1T_C5N8Q,17823
|
11
11
|
upgini/spinner.py,sha256=4iMd-eIe_BnkqFEMIliULTbj6rNI2HkN_VJ4qYe0cUc,1118
|
12
12
|
upgini/version_validator.py,sha256=DvbaAvuYFoJqYt0fitpsk6Xcv-H1BYDJYHUMxaKSH_Y,1509
|
@@ -70,7 +70,7 @@ upgini/utils/target_utils.py,sha256=LRN840dzx78-wg7ftdxAkp2c1eu8-JDvkACiRThm4HE,
|
|
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.81a3832.
|
74
|
-
upgini-1.2.81a3832.
|
75
|
-
upgini-1.2.81a3832.
|
76
|
-
upgini-1.2.81a3832.
|
73
|
+
upgini-1.2.81a3832.dev4.dist-info/METADATA,sha256=JTAyzDU5xBuTcqNjI4mkTOCWSKPMlANhADa9iTM-wxc,49172
|
74
|
+
upgini-1.2.81a3832.dev4.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
75
|
+
upgini-1.2.81a3832.dev4.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
76
|
+
upgini-1.2.81a3832.dev4.dist-info/RECORD,,
|
File without changes
|
File without changes
|