You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OrderedLabelEncoder accepts a parameter where I input the order of the categories. The implicit requirement is that all possible categories are present only once in this parameter.
If I accidentally provide duplicate category labels, it doesn't make sense. I expect the instantiation to crash (but in reality, it somehow works).
Environment Details
Error Description
The OrderedLabelEncoder accepts a parameter where I input the order of the categories. The implicit requirement is that all possible categories are present only once in this parameter.
If I accidentally provide duplicate category labels, it doesn't make sense. I expect the instantiation to crash (but in reality, it somehow works).
Steps to reproduce
Expected
I expect an error when instantiating
OrderedLabelEncoder
with a descriptive message.The text was updated successfully, but these errors were encountered: