InputType
- The categorizer input type.public abstract class AbstractBinaryCategorizer<InputType> extends AbstractCloneableSerializable implements BinaryCategorizer<InputType>
AbstractBinaryCategorizer
implements the commonality of
the BinaryCategorizer
, holding the collection of possible
values.Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.Boolean> |
BINARY_CATEGORIES
The possible categories for a binary categorizer.
|
Constructor and Description |
---|
AbstractBinaryCategorizer()
Creates a new
AbstractBinaryCategorizer . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Boolean> |
getCategories()
Gets the list of possible categories that the categorizer can produce.
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public static final java.util.Set<java.lang.Boolean> BINARY_CATEGORIES
public AbstractBinaryCategorizer()
AbstractBinaryCategorizer
.public java.util.Set<java.lang.Boolean> getCategories()
Categorizer
getCategories
in interface Categorizer<InputType,java.lang.Boolean>