gov.sandia.cognition.learning.function.categorization
Class AbstractBinaryCategorizer<InputType>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.function.categorization.AbstractBinaryCategorizer<InputType>
Type Parameters:
InputType - The categorizer input type.
All Implemented Interfaces:
Evaluator<InputType,Boolean>, BinaryCategorizer<InputType>, Categorizer<InputType,Boolean>, CloneableSerializable, Serializable, Cloneable
Direct Known Subclasses:
AbstractDiscriminantBinaryCategorizer

public abstract class AbstractBinaryCategorizer<InputType>
extends AbstractCloneableSerializable
implements BinaryCategorizer<InputType>

The AbstractBinaryCategorizer implements the commonality of the BinaryCategorizer, holding the collection of possible values.

Since:
2.0
Author:
Justin Basilico
See Also:
Serialized Form

Field Summary
static Set<Boolean> BINARY_CATEGORIES
          The possible categories for a binary categorizer.
 
Constructor Summary
AbstractBinaryCategorizer()
          Creates a new AbstractBinaryCategorizer.
 
Method Summary
 Set<Boolean> getCategories()
          Gets the list of possible categories that the categorizer can produce.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Field Detail

BINARY_CATEGORIES

public static final Set<Boolean> BINARY_CATEGORIES
The possible categories for a binary categorizer.

Constructor Detail

AbstractBinaryCategorizer

public AbstractBinaryCategorizer()
Creates a new AbstractBinaryCategorizer.

Method Detail

getCategories

public Set<Boolean> getCategories()
Description copied from interface: Categorizer
Gets the list of possible categories that the categorizer can produce.

Specified by:
getCategories in interface Categorizer<InputType,Boolean>
Returns:
The list of possible categories.