|
if self.is_onehot and len(x) != self.categories: |
The documentation says that the subtransformer should ignore the categories attribute if one_hot is true. However, this line seems to care about the value of categories. Either modify the documentation or change the error check.
URET/uret/transformers/basic/subtransformers/category_modifier.py
Line 33 in 6531041
The documentation says that the subtransformer should ignore the categories attribute if
one_hotis true. However, this line seems to care about the value of categories. Either modify the documentation or change the error check.