gov.sandia.cognition.learning.performance
Interface SupervisedPerformanceEvaluator<InputType,TargetType,EstimateType,ResultType>

Type Parameters:
InputType - The input type to evaluate.
TargetType - The type of the ground-truth targets (the labels).
EstimateType - The type of estimate to evaluate.
ResultType - The output type of the performance evalautor.
All Superinterfaces:
Cloneable, CloneableSerializable, PerformanceEvaluator<Evaluator<? super InputType,? extends EstimateType>,Collection<? extends InputOutputPair<InputType,TargetType>>,ResultType>, Serializable
All Known Subinterfaces:
DifferentiableCostFunction, ParallelizableCostFunction, SupervisedCostFunction<InputType,TargetType>
All Known Implementing Classes:
AbstractParallelizableCostFunction, AbstractSupervisedCostFunction, AbstractSupervisedPerformanceEvaluator, ConfusionMatrixPerformanceEvaluator, DefaultBinaryConfusionMatrix.PerformanceEvaluator, MeanAbsoluteErrorEvaluator, MeanL1CostFunction, MeanSquaredErrorCostFunction, MeanSquaredErrorEvaluator, MeanZeroOneErrorEvaluator, ParallelizedCostFunctionContainer, RootMeanSquaredErrorEvaluator, SumSquaredErrorCostFunction

public interface SupervisedPerformanceEvaluator<InputType,TargetType,EstimateType,ResultType>
extends PerformanceEvaluator<Evaluator<? super InputType,? extends EstimateType>,Collection<? extends InputOutputPair<InputType,TargetType>>,ResultType>

The SupervisedPerformanceEvaluator interface extends the PerformanceEvaluator interface for performance evaluations of supervised machine learning algorithms where the target type is evaluated against the estimated type produced by the evaluator.

Since:
2.0
Author:
Justin Basilico

Method Summary
 ResultType evaluatePerformance(Collection<? extends TargetEstimatePair<? extends TargetType,? extends EstimateType>> data)
          Evaluates the performance accuracy of the given estimates against the given targets.
 
Methods inherited from interface gov.sandia.cognition.learning.performance.PerformanceEvaluator
evaluatePerformance
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

evaluatePerformance

ResultType evaluatePerformance(Collection<? extends TargetEstimatePair<? extends TargetType,? extends EstimateType>> data)
Evaluates the performance accuracy of the given estimates against the given targets.

Parameters:
data - The target-estimate pairs to use to evaluate performance.
Returns:
The performance evaluation result.