upgini 1.2.34a3657.dev2__py3-none-any.whl → 1.2.34a3657.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.

Potentially problematic release.


This version of upgini might be problematic. Click here for more details.

upgini/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.34a3657.dev2"
1
+ __version__ = "1.2.34a3657.dev4"
upgini/autofe/vector.py CHANGED
@@ -49,6 +49,7 @@ class TimeSeriesBase(PandasOperand, abc.ABC):
49
49
  ts = ts.groupby([c.name for c in data[1:-1]]) if len(data) > 2 else ts
50
50
  ts = self._aggregate(ts)
51
51
  ts = ts.reindex(data[1:-1] + [date] if len(data) > 2 else date).reset_index()
52
+ ts.index = date.index
52
53
 
53
54
  return ts.iloc[:, -1]
54
55
 
@@ -31,6 +31,7 @@ from sklearn.exceptions import NotFittedError
31
31
  from sklearn.model_selection import BaseCrossValidator
32
32
 
33
33
  from upgini.autofe.feature import Feature
34
+ from upgini.autofe.vector import TimeSeriesBase
34
35
  from upgini.data_source.data_source_publisher import CommercialSchema
35
36
  from upgini.dataset import Dataset
36
37
  from upgini.errors import HttpError, ValidationError
@@ -3689,7 +3690,9 @@ class FeaturesEnricher(TransformerMixin):
3689
3690
  .rename_columns(orig_to_hashed)
3690
3691
  )
3691
3692
 
3692
- if autofe_feature.op.is_vector:
3693
+ is_ts = isinstance(autofe_feature.op, TimeSeriesBase)
3694
+
3695
+ if autofe_feature.op.is_vector and not is_ts:
3693
3696
  continue
3694
3697
 
3695
3698
  description = {}
@@ -3706,8 +3709,9 @@ class FeaturesEnricher(TransformerMixin):
3706
3709
 
3707
3710
  feature_idx = 1
3708
3711
  for bc in m.base_columns:
3709
- description[self.bundle.get("autofe_descriptions_feature").format(feature_idx)] = bc.hashed_name
3710
- feature_idx += 1
3712
+ if not is_ts or bc.original_name not in self.fit_search_keys:
3713
+ description[self.bundle.get("autofe_descriptions_feature").format(feature_idx)] = bc.hashed_name
3714
+ feature_idx += 1
3711
3715
 
3712
3716
  description[self.bundle.get("autofe_descriptions_function")] = ",".join(
3713
3717
  sorted(autofe_feature.get_all_operand_names())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.34a3657.dev2
3
+ Version: 1.2.34a3657.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/
@@ -1,9 +1,9 @@
1
- upgini/__about__.py,sha256=Ds2AWnIw0QMz0MRCEQtossjlN3M4v88LL2W29kmuacQ,33
1
+ upgini/__about__.py,sha256=aFWRzjQTNhSc7hetu_yQOUn_kjTYFof-RpSBx4bsYpE,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=KnkqV7Nnx3kxfQ89giDao3bmCm4MFJWqJUrONy85E-k,32030
5
5
  upgini/errors.py,sha256=2b_Wbo0OYhLUbrZqdLIx5jBnAsiD1Mcenh-VjR4HCTw,950
6
- upgini/features_enricher.py,sha256=q11aMFPlCJy1m4sOFfGZFfb4vdG3-hdd0wgm2BXgs9A,194748
6
+ upgini/features_enricher.py,sha256=qGnOTq8fEh3qyPSMkmt_aJvKx4Y1BfArWPtH-IP11H0,194971
7
7
  upgini/http.py,sha256=plZGTGoi1h2edd8Cnjt4eYB8t4NbBGnZz7DtPTByiNc,42885
8
8
  upgini/lazy_import.py,sha256=74gQ8JuA48BGRLxAo7lNHNKY2D2emMxrUxKGdxVGhuY,1012
9
9
  upgini/metadata.py,sha256=ACzIQQwCHCFHlUqXqKpxd3IQ4bBAaVvy8UaCGTqLGQs,11278
@@ -21,7 +21,7 @@ upgini/autofe/feature.py,sha256=l8A8E3BH2BmYvqEC81zbcIEfH6KEEhcesJ2BH4fn0-4,1514
21
21
  upgini/autofe/groupby.py,sha256=G48_sQZw016eGx3cOy8YQrEIOp95puWqYUpFWd-gdeM,3595
22
22
  upgini/autofe/operand.py,sha256=8Ttrfxv_H91dMbS7J55zxluzAJHfGXU_Y2xCh4OHwb8,4774
23
23
  upgini/autofe/unary.py,sha256=T3E7F3dA_7o_rkdCFq7JV6nHLzcoHLHQTcxO7y5Opa4,4646
24
- upgini/autofe/vector.py,sha256=MyNPuqZ5J2vqRSn2UQcKp0ekXWv-d6lImEwqfU3pbCM,4328
24
+ upgini/autofe/vector.py,sha256=bvcop9b0uFFPfQ3FLTwXT2IYfxNl4dIfR8icvnBHvOA,4358
25
25
  upgini/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  upgini/data_source/data_source_publisher.py,sha256=X-8aGtVgzGmxyXkMVBoBLIGDMb4lYQaGZbxDnOd4A3Q,22516
27
27
  upgini/mdc/__init__.py,sha256=aM08nIWFc2gWdWUa3_IuEnNND0cQPkBGnYpRMnfFN8k,1019
@@ -59,7 +59,7 @@ upgini/utils/sklearn_ext.py,sha256=13jQS_k7v0aUtudXV6nGUEWjttPQzAW9AFYL5wgEz9k,4
59
59
  upgini/utils/target_utils.py,sha256=Ed5IXkPjV9AfAZQAwCYksAmKaPGQliplvDYS_yeWdfk,11330
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.34a3657.dev2.dist-info/METADATA,sha256=7-FsgRA-UHOGjlQO_9fynsBvxyPRxTqdb3tA_CCOAPs,48597
63
- upgini-1.2.34a3657.dev2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
64
- upgini-1.2.34a3657.dev2.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
65
- upgini-1.2.34a3657.dev2.dist-info/RECORD,,
62
+ upgini-1.2.34a3657.dev4.dist-info/METADATA,sha256=glOC7nqHQMM9CjIn-Wz4zzPsfuYhumOjO20xrydJnzM,48597
63
+ upgini-1.2.34a3657.dev4.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
64
+ upgini-1.2.34a3657.dev4.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
65
+ upgini-1.2.34a3657.dev4.dist-info/RECORD,,