[BUG] Feature selection transforms fail to make inverse_transform
after make_future
#1138
Open
1 task done
Labels
🐛 Bug Report
Feature selection transforms with option
return_features=True
work incorrectly duringinverse_transform
.During
transform
it stores all the removed features inside transform and returns it back duringinverse_transform
. The problem occurs when we try to makeinverse_transform
aftermake_future
because after this operation our dataset become smaller and concatenation with data saved duringtransform
corrupts the result.I think that we shouldn't store any state during
fit
. As I understand, this problem can be solved if we only hide this columns inTSDataset
instead of removing and unhide them duringinverse_transform
. This makes the task quite difficult.Expected behavior
Feature selection transforms works fine during
inverse_transform
aftermake_future
.How To Reproduce
Script with bug:
This script fails because in reality we have
len(future_df) == 85
.Environment
No response
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: