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
For consistency, as in the documentation of each method, all methods at most assume that
X: A matrix of real numbers or a table with element scitypes that subtype Union{Finite, Infinite}.
Here the column a has scientific type Textual and should be coerced to MultiClass first. I see that the error does not seem to signal that directly and will consider making a PR that throws a better one.
We can also add support for the Textual type but it may not be exactly straightforward given the current implementation.
EssamWisam
changed the title
Imbalance doesn't work with categorical data not encoded as categorical arrays
Imbalance doesn't work with categorical data which has Textual type
Jun 11, 2024
Take this example:
This fails because
ScientificTypes.schema(X).scitypes
fails, but the algorithms emploied doesn't really care about scientific types.The text was updated successfully, but these errors were encountered: