upgini 1.1.296a3521.dev5__tar.gz → 1.1.296a3521.dev7__tar.gz
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-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/PKG-INFO +1 -1
- upgini-1.1.296a3521.dev7/src/upgini/__about__.py +1 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/date.py +9 -1
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/feature.py +5 -4
- upgini-1.1.296a3521.dev5/src/upgini/__about__.py +0 -1
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/.gitignore +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/LICENSE +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/README.md +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/pyproject.toml +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/ads.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/ads_management/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/ads_management/ads_manager.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/all_operands.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/binary.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/groupby.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/operand.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/unary.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/autofe/vector.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/data_source/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/data_source/data_source_publisher.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/dataset.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/errors.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/features_enricher.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/http.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/lazy_import.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/mdc/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/mdc/context.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/metadata.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/metrics.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/normalizer/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/normalizer/phone_normalizer.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/exceptions.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/strings.properties +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/strings_widget.properties +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/sampler/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/sampler/base.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/sampler/random_under_sampler.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/sampler/utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/search_task.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/spinner.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/__init__.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/base_search_key_detector.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/blocked_time_series.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/country_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/custom_loss_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/cv_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/datetime_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/deduplicate_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/display_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/email_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/fallback_progress_bar.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/features_validator.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/format.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/ip_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/phone_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/postal_code_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/progress_bar.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/sklearn_ext.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/target_utils.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/track_info.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/warning_counter.py +0 -0
- {upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/version_validator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: upgini
|
|
3
|
-
Version: 1.1.296a3521.
|
|
3
|
+
Version: 1.1.296a3521.dev7
|
|
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/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.296a3521.dev7"
|
|
@@ -185,6 +185,15 @@ class DatePercentileBase(PandasOperand, abc.ABC):
|
|
|
185
185
|
else:
|
|
186
186
|
return np.nan
|
|
187
187
|
|
|
188
|
+
def get_params(self) -> Dict[str, Optional[str]]:
|
|
189
|
+
res = super().get_params()
|
|
190
|
+
res.update(
|
|
191
|
+
{
|
|
192
|
+
"date_unit": self.date_unit,
|
|
193
|
+
}
|
|
194
|
+
)
|
|
195
|
+
return res
|
|
196
|
+
|
|
188
197
|
|
|
189
198
|
class DatePercentile(DatePercentileBase):
|
|
190
199
|
name = "date_per"
|
|
@@ -198,7 +207,6 @@ class DatePercentile(DatePercentileBase):
|
|
|
198
207
|
res = super().get_params()
|
|
199
208
|
res.update(
|
|
200
209
|
{
|
|
201
|
-
"date_unit": self.date_unit,
|
|
202
210
|
"zero_month": self.zero_month,
|
|
203
211
|
"zero_year": self.zero_year,
|
|
204
212
|
"zero_bounds": self.zero_bounds,
|
|
@@ -325,17 +325,18 @@ class FeatureGroup:
|
|
|
325
325
|
lower_order_children = [
|
|
326
326
|
ch for f in self.children for ch in f.children if ch.get_display_name() != main_column
|
|
327
327
|
]
|
|
328
|
+
lower_order_names = [ch.get_display_name() for ch in lower_order_children]
|
|
328
329
|
if any(isinstance(f, Feature) for f in lower_order_children):
|
|
329
330
|
child_data = pd.concat(
|
|
330
|
-
[data[main_column]] + [ch.calculate(data) for ch in lower_order_children],
|
|
331
|
+
[data[main_column]] + [ch.calculate(data) for ch in lower_order_children],
|
|
332
|
+
axis=1,
|
|
331
333
|
)
|
|
334
|
+
child_data.columns = [main_column] + lower_order_names
|
|
332
335
|
else:
|
|
333
336
|
child_data = data[columns]
|
|
334
337
|
|
|
335
338
|
new_data = self.op.calculate_group(child_data, main_column=main_column)
|
|
336
|
-
new_data.rename(
|
|
337
|
-
columns=dict(zip((c for c in columns if c != main_column), self.get_display_names())), inplace=True
|
|
338
|
-
)
|
|
339
|
+
new_data.rename(columns=dict(zip(lower_order_names, self.get_display_names())), inplace=True)
|
|
339
340
|
else:
|
|
340
341
|
raise NotImplementedError(f"Unrecognized operator {self.op.name}.")
|
|
341
342
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.296a3521.dev5"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/ads_management/ads_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/normalizer/phone_normalizer.py
RENAMED
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/__init__.py
RENAMED
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/exceptions.py
RENAMED
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/resource_bundle/strings.properties
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/sampler/random_under_sampler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/base_search_key_detector.py
RENAMED
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/blocked_time_series.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/fallback_progress_bar.py
RENAMED
|
File without changes
|
{upgini-1.1.296a3521.dev5 → upgini-1.1.296a3521.dev7}/src/upgini/utils/features_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|