Skip to content

Validate the type of target in binary samplers #111

Closed
@chkoar

Description

@chkoar

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions