category_encoders
category_encoders copied to clipboard
No need to check if # of dimensions of testing set align with training set in target_encoder
https://github.com/scikit-learn-contrib/category_encoders/blob/6a13c14919d56fed8177a173d4b3b82c5ea2fef5/category_encoders/utils.py#L322-L323
For the function _check_transform_inputs()
, I do not want it to report error when # of dimensions for testing set don't align with training set. However, the default is it has to align. Considering that the purpose of target encoder is to transform designated columns using target encoders, nothing else, logically we don't have to validate the dimension alignment.
plase have a look at the dicussion in #355
is this a duplicate of that issue?