Package weka.attributeSelection
Class AttributeSetEvaluator
java.lang.Object
weka.attributeSelection.ASEvaluation
weka.attributeSelection.AttributeSetEvaluator
- All Implemented Interfaces:
Serializable,CapabilitiesHandler,CapabilitiesIgnorer,CommandlineRunnable,OptionHandler,RevisionHandler
Abstract attribute set evaluator.
- Version:
- $Revision: 8034 $
- Author:
- Zheng Zhao: zhaozheng at asu.edu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract doubleevaluateAttribute(int attribute) evaluates an individual attributeabstract doubleevaluateAttribute(int[] attributes, int[] classAttributes) Evaluates a set of attributesMethods inherited from class weka.attributeSelection.ASEvaluation
buildEvaluator, clean, doNotCheckCapabilitiesTipText, forName, getCapabilities, getDoNotCheckCapabilities, getOptions, getRevision, listOptions, makeCopies, postExecution, postProcess, preExecution, run, runEvaluator, setDoNotCheckCapabilities, setOptions
-
Constructor Details
-
AttributeSetEvaluator
public AttributeSetEvaluator()
-
-
Method Details
-
evaluateAttribute
evaluates an individual attribute- Parameters:
attribute- the index of the attribute to be evaluated- Returns:
- the "merit" of the attribute
- Throws:
Exception- if the attribute could not be evaluated
-
evaluateAttribute
Evaluates a set of attributes- Parameters:
attributes- anint[]valueclassAttributes- anint[]value- Returns:
- a
doublevalue - Throws:
Exception- if an error occurs
-