Closed franchuterivera closed 3 years ago
This line only uses the training data to build an encoding space: https://github.com/LMZimmer/Auto-PyTorch_refactor/blob/720bde8d873a272c5a29ddb2fd742a7affdcbd71/autoPyTorch/pipeline/components/preprocessing/encoding/OrdinalEncoder.py#L25
To prevent issues, employ train, test, val data IF available to build and fit encoders.
I think this issue can be closed.
This line only uses the training data to build an encoding space: https://github.com/LMZimmer/Auto-PyTorch_refactor/blob/720bde8d873a272c5a29ddb2fd742a7affdcbd71/autoPyTorch/pipeline/components/preprocessing/encoding/OrdinalEncoder.py#L25
To prevent issues, employ train, test, val data IF available to build and fit encoders.