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

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

public static class DefaultBinaryConfusionMatrix.ActualPredictedPairSummarizer
extends AbstractCloneableSerializable
implements Summarizer<Pair<? extends Boolean,? extends Boolean>,DefaultBinaryConfusionMatrix>

A confusion matrix summarizer that summarizes actual-predicted pairs.

See Also:
Serialized Form

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

public DefaultBinaryConfusionMatrix.ActualPredictedPairSummarizer()
Creates a new CombineSummarizer.

Method Detail

summarize

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

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