gov.sandia.cognition.learning.function.categorization
Interface DiscriminantCategorizer<InputType,CategoryType,DiscriminantType extends Comparable<? super DiscriminantType>>

Type Parameters:
InputType - The type of the input the categorizer can use.
CategoryType - The type of category output by the categorizer.
DiscriminantType - The type of discriminant that can be used to sort the output.
All Superinterfaces:
Categorizer<InputType,CategoryType>, Cloneable, CloneableSerializable, Evaluator<InputType,CategoryType>, Serializable
All Known Subinterfaces:
ConfidenceWeightedBinaryCategorizer, DiscriminantBinaryCategorizer<InputType>, ThresholdBinaryCategorizer<InputType>
All Known Implementing Classes:
AbstractConfidenceWeightedBinaryCategorizer, AbstractDiscriminantBinaryCategorizer, AbstractDiscriminantCategorizer, AbstractThresholdBinaryCategorizer, BinaryVersusCategorizer, DefaultConfidenceWeightedBinaryCategorizer, DefaultKernelBinaryCategorizer, DiagonalConfidenceWeightedBinaryCategorizer, DiscreteNaiveBayesCategorizer, FisherLinearDiscriminantBinaryCategorizer, Forgetron.Result, KernelBinaryCategorizer, LinearBinaryCategorizer, LinearMultiCategorizer, MaximumAPosterioriCategorizer, OnlineShiftingPerceptron.LinearResult, ScalarFunctionToBinaryCategorizerAdapter, ScalarThresholdBinaryCategorizer, VectorElementThresholdCategorizer, VectorNaiveBayesCategorizer, VotingCategorizerEnsemble, WeightedBinaryEnsemble, WeightedVotingCategorizerEnsemble, WinnerTakeAllCategorizer

public interface DiscriminantCategorizer<InputType,CategoryType,DiscriminantType extends Comparable<? super DiscriminantType>>
extends Categorizer<InputType,CategoryType>

Interface for a Categorizer that can produce a value to discriminate between how well different instances fit a given category. Thus, it can produce a pair of the category value plus a discriminant for ordering within that category.

Since:
3.1
Author:
Justin Basilico

Method Summary
 ValueDiscriminantPair<CategoryType,DiscriminantType> evaluateWithDiscriminant(InputType input)
          Evaluate the categorizer on the given input to produce the expected category plus a discriminant for later producing an ordering of how well items fit into that category.
 
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

evaluateWithDiscriminant

ValueDiscriminantPair<CategoryType,DiscriminantType> evaluateWithDiscriminant(InputType input)
Evaluate the categorizer on the given input to produce the expected category plus a discriminant for later producing an ordering of how well items fit into that category.

Parameters:
input - The input value to categorize with a discriminate
Returns:
A pair containing the value and the discriminant value used for ordering results belonging to the same category.