jcolibri.evaluation.evaluators
Class LeaveOneOutEvaluator

java.lang.Object
  extended by jcolibri.evaluation.Evaluator
      extended by jcolibri.evaluation.evaluators.LeaveOneOutEvaluator

public class LeaveOneOutEvaluator
extends Evaluator

This methods uses all the cases as queries. It executes so cycles as cases in the case base. In each cycle one case is used as query.

Version:
2.0
Author:
Juan A. Recio García - GAIA http://gaia.fdi.ucm.es

Field Summary
protected  StandardCBRApplication app
           
 
Fields inherited from class jcolibri.evaluation.Evaluator
report
 
Constructor Summary
LeaveOneOutEvaluator()
           
 
Method Summary
 void init(StandardCBRApplication cbrApp)
          Initializes the evaluator with the CBR application to evaluate
 void LeaveOneOut()
          Performs the Leave-One-Out evaluation.
 
Methods inherited from class jcolibri.evaluation.Evaluator
getEvaluationReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

app

protected StandardCBRApplication app
Constructor Detail

LeaveOneOutEvaluator

public LeaveOneOutEvaluator()
Method Detail

init

public void init(StandardCBRApplication cbrApp)
Description copied from class: Evaluator
Initializes the evaluator with the CBR application to evaluate

Specified by:
init in class Evaluator
See Also:
StandardCBRApplication

LeaveOneOut

public void LeaveOneOut()
Performs the Leave-One-Out evaluation. For each case in the case base, remove that case from the case base and use it as query for that cycle.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es