nip.parameters.types.BinarificationMethodType

nip.parameters.types.BinarificationMethodType#

nip.parameters.types.BinarificationMethodType#

Type for ways of turning a multi-class classification task into a binary one.

select_two

Select two classes from the original dataset to use for the binary classification task.

merge

Merge all classes from the original dataset into two classes.

random

Select classes completely at random.

alias of Literal[‘select_two’, ‘merge’, ‘random’]