gov.sandia.cognition.learning.performance.categorization
Class DefaultConfusionMatrix.ActualPredictedPairSummarizer<CategoryType>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.performance.categorization.DefaultConfusionMatrix.ActualPredictedPairSummarizer<CategoryType>
Type Parameters:
CategoryType - The type of category of the summarizer.
All Implemented Interfaces:
CloneableSerializable, Summarizer<Pair<? extends CategoryType,? extends CategoryType>,DefaultConfusionMatrix<CategoryType>>, Serializable, Cloneable
Enclosing class:
DefaultConfusionMatrix<CategoryType>

public static class DefaultConfusionMatrix.ActualPredictedPairSummarizer<CategoryType>
extends AbstractCloneableSerializable
implements Summarizer<Pair<? extends CategoryType,? extends CategoryType>,DefaultConfusionMatrix<CategoryType>>

A confusion matrix summarizer that summarizes actual-predicted pairs.

See Also:
Serialized Form

Constructor Summary
DefaultConfusionMatrix.ActualPredictedPairSummarizer()
          Creates a new CombineSummarizer.
 
Method Summary
 DefaultConfusionMatrix<CategoryType> summarize(Collection<? extends Pair<? extends CategoryType,? extends CategoryType>> data)
          Creates a summary of the given collection of data.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfusionMatrix.ActualPredictedPairSummarizer

public DefaultConfusionMatrix.ActualPredictedPairSummarizer()
Creates a new CombineSummarizer.

Method Detail

summarize

public DefaultConfusionMatrix<CategoryType> summarize(Collection<? extends Pair<? extends CategoryType,? extends CategoryType>> data)
Description copied from interface: Summarizer
Creates a summary of the given collection of data.

Specified by:
summarize in interface Summarizer<Pair<? extends CategoryType,? extends CategoryType>,DefaultConfusionMatrix<CategoryType>>
Parameters:
data - The collection of data to summarize.
Returns:
The summary of the data.