jcolibri.extensions.maintenance_evaluation.evaluators
Class MaintenanceLeaveOneOutEvaluator

java.lang.Object
  extended by jcolibri.evaluation.Evaluator
      extended by jcolibri.extensions.maintenance_evaluation.MaintenanceEvaluator
          extended by jcolibri.extensions.maintenance_evaluation.evaluators.MaintenanceLeaveOneOutEvaluator

public class MaintenanceLeaveOneOutEvaluator
extends MaintenanceEvaluator

This evalutation takes each case in turn to be the query. It maintains the case-base (the remaining cases) and then uses that as a training set to evaluate the query.

Author:
Lisa Cummins., Juan A. Recio García - GAIA http://gaia.fdi.ucm.es

Field Summary
 
Fields inherited from class jcolibri.extensions.maintenance_evaluation.MaintenanceEvaluator
app, editMethod, PERCENT_REDUCED, simConfig
 
Fields inherited from class jcolibri.evaluation.Evaluator
report
 
Constructor Summary
MaintenanceLeaveOneOutEvaluator()
           
 
Method Summary
 void LeaveOneOut()
          Performs the Leave-One-Out evaluation.
protected  void prepareCases(CBRCaseBase caseBase)
          Prepares the cases for evaluation
 
Methods inherited from class jcolibri.extensions.maintenance_evaluation.MaintenanceEvaluator
editCaseBase, init, init, setEditMethod, setSimConfig
 
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
 

Constructor Detail

MaintenanceLeaveOneOutEvaluator

public MaintenanceLeaveOneOutEvaluator()
Method Detail

LeaveOneOut

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


prepareCases

protected void prepareCases(CBRCaseBase caseBase)
Prepares the cases for evaluation

Parameters:
caseBase - the case base

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