gov.sandia.cognition.learning.performance.categorization
Class DefaultBinaryConfusionMatrix.CombineSummarizer

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.performance.categorization.DefaultBinaryConfusionMatrix.CombineSummarizer
All Implemented Interfaces:
CloneableSerializable, Summarizer<ConfusionMatrix<Boolean>,DefaultBinaryConfusionMatrix>, Serializable, Cloneable
Enclosing class:
DefaultBinaryConfusionMatrix

public static class DefaultBinaryConfusionMatrix.CombineSummarizer
extends AbstractCloneableSerializable
implements Summarizer<ConfusionMatrix<Boolean>,DefaultBinaryConfusionMatrix>

A confusion matrix summarizer that adds together confusion matrices.

See Also:
Serialized Form

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

DefaultBinaryConfusionMatrix.CombineSummarizer

public DefaultBinaryConfusionMatrix.CombineSummarizer()
Creates a new CombineSummarizer.

Method Detail

summarize

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

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