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.public interface DiscriminantCategorizer<InputType,CategoryType,DiscriminantType extends java.lang.Comparable<? super DiscriminantType>> extends Categorizer<InputType,CategoryType>
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.Modifier and Type | Method and Description |
---|---|
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.
|
getCategories
clone
ValueDiscriminantPair<CategoryType,DiscriminantType> evaluateWithDiscriminant(InputType input)
input
- The input value to categorize with a discriminate