Package | Description |
---|---|
gov.sandia.cognition.learning.performance.categorization |
Provides performance measures for categorizers.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryConfusionMatrix
An interface for a binary confusion matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryConfusionMatrix
An abstract implementation of the
BinaryConfusionMatrix interface. |
class |
AbstractConfusionMatrix<CategoryType>
An abstract implementation of the
ConfusionMatrix interface. |
class |
DefaultBinaryConfusionMatrix
A default implementation of the
BinaryConfusionMatrix . |
class |
DefaultConfusionMatrix<CategoryType>
A default implementation of the
ConfusionMatrix interface. |
Modifier and Type | Field and Description |
---|---|
protected Factory<? extends ConfusionMatrix<CategoryType>> |
ConfusionMatrixPerformanceEvaluator.factory
The factory used to create the confusion matrix of the evaluator.
|
Modifier and Type | Method and Description |
---|---|
ConfusionMatrix<CategoryType> |
ConfusionMatrixPerformanceEvaluator.evaluatePerformance(java.util.Collection<? extends TargetEstimatePair<? extends CategoryType,? extends CategoryType>> data) |
Modifier and Type | Method and Description |
---|---|
Factory<? extends ConfusionMatrix<CategoryType>> |
ConfusionMatrixPerformanceEvaluator.getFactory()
Gets the factory for the confusion matrix the evaluator creates.
|
Modifier and Type | Method and Description |
---|---|
<OtherType extends CategoryType> |
AbstractConfusionMatrix.addAll(ConfusionMatrix<OtherType> other) |
<OtherType extends CategoryType> |
ConfusionMatrix.addAll(ConfusionMatrix<OtherType> other)
Adds all of the values in the given confusion matrix to this confusion
matrix.
|
static <CategoryType> |
DefaultBinaryConfusionMatrix.binarizeOnTrueCategory(ConfusionMatrix<CategoryType> matrix,
CategoryType trueCategory)
Takes a general confusion matrix and creates a binary form of it using
true category.
|
static <CategoryType> |
DefaultBinaryConfusionMatrix.binarizeOnTrueSet(ConfusionMatrix<CategoryType> matrix,
java.util.Set<? super CategoryType> trueSet)
Takes a general confusion matrix and creates a binary form of it using
the given set of true categories.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfusionMatrixPerformanceEvaluator.setFactory(Factory<? extends ConfusionMatrix<CategoryType>> factory)
Sets the factory for the confusion matrix the evaluator creates.
|
DefaultBinaryConfusionMatrix |
DefaultBinaryConfusionMatrix.CombineSummarizer.summarize(java.util.Collection<? extends ConfusionMatrix<java.lang.Boolean>> data) |
DefaultConfusionMatrix<CategoryType> |
DefaultConfusionMatrix.CombineSummarizer.summarize(java.util.Collection<? extends ConfusionMatrix<CategoryType>> data) |
Constructor and Description |
---|
DefaultConfusionMatrix(ConfusionMatrix<? extends CategoryType> other)
Creates a copy of a given confusion matrix.
|
Constructor and Description |
---|
ConfusionMatrixPerformanceEvaluator(Factory<? extends ConfusionMatrix<CategoryType>> factory)
Creates a new
ConfusionMatrixPerformanceEvaluator using the given
factory. |