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
Some methods require that the type of target y is binary.
For these methods an option would be to use type_of_target from sklearn.utils.multiclass and raise a ValueError during fit if the target is not binary