gov.sandia.cognition.learning.performance.categorization
Class DefaultBinaryConfusionMatrixConfidenceInterval.Summary

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

public static class DefaultBinaryConfusionMatrixConfidenceInterval.Summary
extends AbstractCloneableSerializable
implements Summarizer<DefaultBinaryConfusionMatrix,DefaultBinaryConfusionMatrixConfidenceInterval>

An implementation of the Summarizer interface for creating a ConfusionMatrixInterval

See Also:
Serialized Form

Constructor Summary
DefaultBinaryConfusionMatrixConfidenceInterval.Summary(double confidence)
          Creates a new Summarizer.
 
Method Summary
 double getConfidence()
          Gets the confidence for created the interval.
 void setConfidence(double confidence)
          Sets the confidence for created the interval.
 DefaultBinaryConfusionMatrixConfidenceInterval summarize(Collection<? extends DefaultBinaryConfusionMatrix> 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

DefaultBinaryConfusionMatrixConfidenceInterval.Summary

public DefaultBinaryConfusionMatrixConfidenceInterval.Summary(double confidence)
Creates a new Summarizer.

Parameters:
confidence - The confidence for the interval.
Method Detail

summarize

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

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

getConfidence

public double getConfidence()
Gets the confidence for created the interval.

Returns:
The confidence for the created interval.

setConfidence

public void setConfidence(double confidence)
Sets the confidence for created the interval.

Parameters:
confidence - The confidence for the created interval.