pytorch-forecasting
pytorch-forecasting copied to clipboard
UserWarning with target EncoderNormalizer
- PyTorch-Forecasting version: 1.0.0
- PyTorch version: 2.0.0
- Python version: Python 3.10.8
- Operating System: Ubuntu
I am using a target EncoderNormalizer which produces the following warning:
sklearn/base.py:409: UserWarning:
X does not have valid feature names, but StandardScaler was fitted with feature names
Why could this happen? Should I be concerned about this?
@terbed hi, did you find a solution?
got the same problem when using a TimeSeriesDataSet with the EncoderNormalizer. runs in theory, but 16 error messages per datapoint slow down jupyter quite a bit.
found a fix in setting add_target_scales=False for the dataset. possible fix, running the encoder after adding target scales to X?