gov.sandia.cognition.learning.data
Interface TargetEstimatePair<TargetType,EstimateType>

Type Parameters:
TargetType - The type of the target (ground-truth).
EstimateType - The type of the estimate (prediction). Typically this is the same as TargetType, but it does not have to be.
All Superinterfaces:
Pair<TargetType,EstimateType>, Serializable
All Known Subinterfaces:
WeightedTargetEstimatePair<TargetType,EstimateType>
All Known Implementing Classes:
AbstractTargetEstimatePair, DefaultTargetEstimatePair, DefaultWeightedTargetEstimatePair

public interface TargetEstimatePair<TargetType,EstimateType>
extends Pair<TargetType,EstimateType>

A Pair that encapsulates a target-estimate Pair. This is useful when capturing a target (ground-truth) and an estimate of that Pair

Since:
2.0
Author:
Justin Basilico, Kevin R. Dixon

Method Summary
 EstimateType getEstimate()
          Gets the estimate, which is the prediction or guess.
 TargetType getTarget()
          Gets the target, which is the ground-truth or actual value.
 
Methods inherited from interface gov.sandia.cognition.util.Pair
getFirst, getSecond
 

Method Detail

getTarget

TargetType getTarget()
Gets the target, which is the ground-truth or actual value.

Returns:
The target (ground-truth) value.

getEstimate

EstimateType getEstimate()
Gets the estimate, which is the prediction or guess.

Returns:
The target (predicted) value.