Closed mkmkmk124 closed 3 years ago
Hello @mkmkmk124. Thanks for bringing this to our attention! Of course the problem you describe is not the intended behaviour. I implemented your suggested changes and make a PR for it as soon as possible. The bug should be fixed in the next release and we keep our eyes open for similar constructors and change them as well!
Thank you for your quick response!
This one is fixed now.
Describe the bug
After learning and transforming multiple time series data by using the fit_transform function of multiple Scaler objects constructed with no arguments, if we try to restore each time series by using the inverse_transform function, the original time series will not be restored except for the last learned time series.
To Reproduce
Expected behavior
Fig. 1 and Fig. 3 are expected to have the same plot.
Details to be corrected
Change the default value of the scaler argument in the constructor of the Scaler class to None, and implement the processing for the case of None inside the constructor.
Before:
After: