/** * Interface implemented by learner evaluators to monitor * the results of the learning process. * * @author Richard Kirkby (rkirkby@cs.waikato.ac.nz) * @version $Revision: 7 $ */ publicinterfaceLearningPerformanceEvaluator<EextendsExample> extendsMOAObject, CapabilitiesHandler{
/** * Resets this evaluator. It must be similar to * starting a new evaluator from scratch. * */ publicvoidreset();
/** * Adds a learning result to this evaluator. * * @param example the example to be classified * @param classVotes an array containing the estimated membership * probabilities of the test instance in each class */ publicvoidaddResult(E example, double[] classVotes); publicvoidaddResult(E testInst, Prediction prediction);
/** * Gets the current measurements monitored by this evaluator. * * @return an array of measurements monitored by this evaluator */ public Measurement[] getPerformanceMeasurements();