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

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

public interface ThresholdBinaryCategorizer<InputType>
extends DiscriminantBinaryCategorizer<InputType>

Interface for a binary categorizer that uses a threshold to determine the categorization.

Since:
3.1
Author:
Justin Basilico

Method Summary
 double getThreshold()
          Gets the threshold between the two categories used in binary categorization.
 void setThreshold(double threshold)
          Sets the threshold between the two categories used in binary categorization.
 
Methods inherited from interface gov.sandia.cognition.learning.function.categorization.DiscriminantBinaryCategorizer
evaluateAsDouble
 
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

getThreshold

double getThreshold()
Gets the threshold between the two categories used in binary categorization.

Returns:
The threshold.

setThreshold

void setThreshold(double threshold)
Sets the threshold between the two categories used in binary categorization.

Parameters:
threshold - The threshold.