gov.sandia.cognition.learning.performance.categorization
Class DefaultBinaryConfusionMatrix.PerformanceEvaluator<InputType>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.performance.AbstractSupervisedPerformanceEvaluator<InputType,Boolean,Boolean,DefaultBinaryConfusionMatrix>
          extended by gov.sandia.cognition.learning.performance.categorization.DefaultBinaryConfusionMatrix.PerformanceEvaluator<InputType>
Type Parameters:
InputType - Input type for the evaluator to compute the confusion over.
All Implemented Interfaces:
PerformanceEvaluator<Evaluator<? super InputType,? extends Boolean>,Collection<? extends InputOutputPair<InputType,Boolean>>,DefaultBinaryConfusionMatrix>, SupervisedPerformanceEvaluator<InputType,Boolean,Boolean,DefaultBinaryConfusionMatrix>, CloneableSerializable, Summarizer<TargetEstimatePair<? extends Boolean,? extends Boolean>,DefaultBinaryConfusionMatrix>, Serializable, Cloneable
Enclosing class:
DefaultBinaryConfusionMatrix

public static class DefaultBinaryConfusionMatrix.PerformanceEvaluator<InputType>
extends AbstractSupervisedPerformanceEvaluator<InputType,Boolean,Boolean,DefaultBinaryConfusionMatrix>

An implementation of the SupervisedPerformanceEvaluator interface for creating a DefaultBinaryConfusionMatrix.

See Also:
Serialized Form

Constructor Summary
DefaultBinaryConfusionMatrix.PerformanceEvaluator()
          Creates a new PerformanceEvaluator.
 
Method Summary
 DefaultBinaryConfusionMatrix evaluatePerformance(Collection<? extends TargetEstimatePair<? extends Boolean,? extends Boolean>> data)
          Evaluates the performance accuracy of the given estimates against the given targets.
 
Methods inherited from class gov.sandia.cognition.learning.performance.AbstractSupervisedPerformanceEvaluator
evaluatePerformance, summarize
 
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
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Constructor Detail

DefaultBinaryConfusionMatrix.PerformanceEvaluator

public DefaultBinaryConfusionMatrix.PerformanceEvaluator()
Creates a new PerformanceEvaluator.

Method Detail

evaluatePerformance

public DefaultBinaryConfusionMatrix evaluatePerformance(Collection<? extends TargetEstimatePair<? extends Boolean,? extends Boolean>> data)
Description copied from interface: SupervisedPerformanceEvaluator
Evaluates the performance accuracy of the given estimates against the given targets.

Specified by:
evaluatePerformance in interface SupervisedPerformanceEvaluator<InputType,Boolean,Boolean,DefaultBinaryConfusionMatrix>
Specified by:
evaluatePerformance in class AbstractSupervisedPerformanceEvaluator<InputType,Boolean,Boolean,DefaultBinaryConfusionMatrix>
Parameters:
data - The target-estimate pairs to use to evaluate performance.
Returns:
The performance evaluation result.