adams.data.weka.evaluator
Class PassThrough
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.weka.evaluator.AbstractInstanceEvaluator
adams.data.weka.evaluator.PassThrough
- All Implemented Interfaces:
- CleanUpHandler, Debuggable, Destroyable, OptionHandler, SizeOfHandler, Serializable
public class PassThrough
- extends AbstractInstanceEvaluator
A dummy evaluator that OKs all data.
Valid options are:
-D (property: debug)
If set to true, scheme may output additional info to the console.
- Version:
- $Revision: 4584 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Method Summary |
protected double |
doEvaluate(weka.core.Instance inst)
Performs no real evaluation, just returns 1.0. |
String |
globalInfo()
Returns a string describing the object. |
| Methods inherited from class adams.data.weka.evaluator.AbstractInstanceEvaluator |
check, cleanUp, compareTo, destroy, equals, evaluate, forCommandLine, forName, getEvaluators, reset, setUp, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
PassThrough
public PassThrough()
globalInfo
public String globalInfo()
- Returns a string describing the object.
- Specified by:
globalInfo in class AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
doEvaluate
protected double doEvaluate(weka.core.Instance inst)
- Performs no real evaluation, just returns 1.0.
- Specified by:
doEvaluate in class AbstractInstanceEvaluator
- Parameters:
inst - the instance to evaluate
- Returns:
- evaluation range, between 0 and 1 (0 = bad, 1 = good, -1 = if unable to evaluate)
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.