gov.sandia.cognition.learning.function.categorization
Interface DiscriminantBinaryCategorizer<InputType>

Type Parameters:
InputType - The type of the input the categorizer can use.
All Superinterfaces:
BinaryCategorizer<InputType>, Categorizer<InputType,Boolean>, Cloneable, CloneableSerializable, DiscriminantCategorizer<InputType,Boolean,Double>, Evaluator<InputType,Boolean>, Serializable
All Known Subinterfaces:
ConfidenceWeightedBinaryCategorizer, ThresholdBinaryCategorizer<InputType>
All Known Implementing Classes:
AbstractConfidenceWeightedBinaryCategorizer, AbstractDiscriminantBinaryCategorizer, AbstractThresholdBinaryCategorizer, DefaultConfidenceWeightedBinaryCategorizer, DefaultKernelBinaryCategorizer, DiagonalConfidenceWeightedBinaryCategorizer, FisherLinearDiscriminantBinaryCategorizer, Forgetron.Result, KernelBinaryCategorizer, LinearBinaryCategorizer, OnlineShiftingPerceptron.LinearResult, ScalarFunctionToBinaryCategorizerAdapter, ScalarThresholdBinaryCategorizer, VectorElementThresholdCategorizer, WeightedBinaryEnsemble

public interface DiscriminantBinaryCategorizer<InputType>
extends BinaryCategorizer<InputType>, DiscriminantCategorizer<InputType,Boolean,Double>

Interface for a linear discriminant categorizer in the binary categorization domain. It allows the output to be evaluated as a double.

Since:
3.1
Author:
Justin Basilico

Method Summary
 double evaluateAsDouble(InputType input)
          Categorizes the given input vector as a double where values greater than zero are in the true category and less than zero are in the false category.
 
Methods inherited from interface gov.sandia.cognition.learning.function.categorization.DiscriminantCategorizer
evaluateWithDiscriminant
 
Methods inherited from interface gov.sandia.cognition.learning.function.categorization.Categorizer
getCategories
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

evaluateAsDouble

double evaluateAsDouble(InputType input)
Categorizes the given input vector as a double where values greater than zero are in the true category and less than zero are in the false category. Zero can be treated as unknown or as the true category, depending on the categorizer.

Parameters:
input - The input value to categorize.
Returns:
The categorization of the input value where the sign is the categorization.