All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.sandia.cognition.learning.performance.SupervisedPerformanceEvaluator Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/*
 * File:                SupervisedPerformanceEvaluator.java
 * Authors:             Justin Basilico
 * Company:             Sandia National Laboratories
 * Project:             Cognitive Framework Lite
 *
 * Copyright September 27, 2007, Sandia Corporation.  Under the terms of Contract
 * DE-AC04-94AL85000, there is a non-exclusive license for use of this work by
 * or on behalf of the U.S. Government. Export of this program may require a
 * license from the United States Government. See CopyrightHistory.txt for
 * complete details.
 *
 *
 */

package gov.sandia.cognition.learning.performance;

import gov.sandia.cognition.learning.data.InputOutputPair;
import gov.sandia.cognition.evaluator.Evaluator;
import gov.sandia.cognition.learning.data.TargetEstimatePair;
import java.util.Collection;

/**
 * The {@code SupervisedPerformanceEvaluator} interface extends the
 * {@code PerformanceEvaluator} interface for performance evaluations of 
 * supervised machine learning algorithms where the target type is evaluated
 * against the estimated type produced by the evaluator.
 *
 * @param    The input type to evaluate.
 * @param    The type of the ground-truth targets (the labels).
 * @param    The type of estimate to evaluate.
 * @param    The output type of the performance evalautor.
 * @author  Justin Basilico
 * @since   2.0
 */
public interface SupervisedPerformanceEvaluator
    
    extends PerformanceEvaluator
        ,
         Collection>,
         ResultType>
{

    /**
     * Evaluates the performance accuracy of the given estimates against the
     * given targets.
     *
     * @param  data The target-estimate pairs to use to evaluate performance.
     * @return The performance evaluation result.
     */
    ResultType evaluatePerformance(
        Collection> data);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy