weka.classifiers.meta
Class MultiSearch.EvaluationTask

java.lang.Object
  extended by weka.classifiers.meta.MultiSearch.EvaluationTask
All Implemented Interfaces:
Runnable
Enclosing class:
MultiSearch

protected static class MultiSearch.EvaluationTask
extends Object
implements Runnable

Helper class for evaluating a setup.


Field Summary
protected  weka.core.Instances m_Data
          the data to use for training.
protected  int m_Evaluation
          the type of evaluation.
protected  int m_Folds
          the number of folds for cross-validation.
protected  SetupGenerator m_Generator
          the setup generator to use.
protected  MultiSearch m_Owner
          the owner.
protected  Point<Object> m_Values
          the setup.
 
Constructor Summary
MultiSearch.EvaluationTask(MultiSearch owner, weka.core.Instances inst, SetupGenerator generator, Point<Object> values, int folds, int eval)
          Initializes the task.
 
Method Summary
 void run()
          Performs the evaluation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Owner

protected MultiSearch m_Owner
the owner.


m_Data

protected weka.core.Instances m_Data
the data to use for training.


m_Generator

protected SetupGenerator m_Generator
the setup generator to use.


m_Values

protected Point<Object> m_Values
the setup.


m_Folds

protected int m_Folds
the number of folds for cross-validation.


m_Evaluation

protected int m_Evaluation
the type of evaluation.

Constructor Detail

MultiSearch.EvaluationTask

public MultiSearch.EvaluationTask(MultiSearch owner,
                                  weka.core.Instances inst,
                                  SetupGenerator generator,
                                  Point<Object> values,
                                  int folds,
                                  int eval)
Initializes the task.

Parameters:
owner - the owning MultiSearch classifier
inst - the data
generator - the generator to use
values - the setup values
folds - the number of cross-validation folds
eval - the type of evaluation
Method Detail

run

public void run()
Performs the evaluation.

Specified by:
run in interface Runnable


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.