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

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

public static class DefaultConfusionMatrix.CombineSummarizer<CategoryType>
extends AbstractCloneableSerializable
implements Summarizer<ConfusionMatrix<CategoryType>,DefaultConfusionMatrix<CategoryType>>

A confusion matrix summarizer that adds together confusion matrices.

See Also:
Serialized Form

Constructor Summary
DefaultConfusionMatrix.CombineSummarizer()
          Creates a new CombineSummarizer.
 
Method Summary
 DefaultConfusionMatrix<CategoryType> summarize(Collection<? extends ConfusionMatrix<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.CombineSummarizer

public DefaultConfusionMatrix.CombineSummarizer()
Creates a new CombineSummarizer.

Method Detail

summarize

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

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