/** * Creates a new instance of {@code TargetEstimatePair} with the given * target and estimate values. * * @param target * Target (ground-truth) value. * @param estimate * Estimate (prediction) of the target value. */ public DefaultTargetEstimatePair( final TargetType target, final EstimateType estimate) { super(); this.setTarget(target); this.setEstimate(estimate); }
/** * Creates a new instance of {@code TargetEstimatePair} with the given * target and estimate values. * * @param target * Target (ground-truth) value. * @param estimate * Estimate (prediction) of the target value. */ public DefaultTargetEstimatePair( final TargetType target, final EstimateType estimate) { super(); this.setTarget(target); this.setEstimate(estimate); }
/** * Creates a new instance of {@code TargetEstimatePair} with the given * target and estimate values. * * @param target * Target (ground-truth) value. * @param estimate * Estimate (prediction) of the target value. */ public DefaultTargetEstimatePair( final TargetType target, final EstimateType estimate) { super(); this.setTarget(target); this.setEstimate(estimate); }
@Override public DefaultTargetEstimatePair<TargetType, EstimateType> clone() { @SuppressWarnings("unchecked") DefaultTargetEstimatePair<TargetType, EstimateType> clone = (DefaultTargetEstimatePair<TargetType, EstimateType>) super.clone(); clone.setTarget(ObjectUtil.cloneSmart(this.getTarget())); clone.setEstimate(ObjectUtil.cloneSmart(this.getEstimate())); return clone; }
@Override public DefaultTargetEstimatePair<TargetType, EstimateType> clone() { @SuppressWarnings("unchecked") DefaultTargetEstimatePair<TargetType, EstimateType> clone = (DefaultTargetEstimatePair<TargetType, EstimateType>) super.clone(); clone.setTarget(ObjectUtil.cloneSmart(this.getTarget())); clone.setEstimate(ObjectUtil.cloneSmart(this.getEstimate())); return clone; }
@Override public DefaultTargetEstimatePair<TargetType, EstimateType> clone() { @SuppressWarnings("unchecked") DefaultTargetEstimatePair<TargetType, EstimateType> clone = (DefaultTargetEstimatePair<TargetType, EstimateType>) super.clone(); clone.setTarget(ObjectUtil.cloneSmart(this.getTarget())); clone.setEstimate(ObjectUtil.cloneSmart(this.getEstimate())); return clone; }