weka.attributeSelection
Class AttributeSetEvaluator
- java.lang.Object
-
- weka.attributeSelection.ASEvaluation
-
- weka.attributeSelection.AttributeSetEvaluator
-
- All Implemented Interfaces:
- java.io.Serializable, CapabilitiesHandler, CapabilitiesIgnorer, CommandlineRunnable, RevisionHandler
public abstract class AttributeSetEvaluator extends ASEvaluation
Abstract attribute set evaluator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AttributeSetEvaluator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract doubleevaluateAttribute(int attribute)evaluates an individual attributeabstract doubleevaluateAttribute(int[] attributes, int[] classAttributes)Evaluates a set of attributes-
Methods inherited from class weka.attributeSelection.ASEvaluation
buildEvaluator, clean, doNotCheckCapabilitiesTipText, forName, getCapabilities, getDoNotCheckCapabilities, getRevision, makeCopies, postExecution, postProcess, preExecution, run, runEvaluator, setDoNotCheckCapabilities
-
-
-
-
Method Detail
-
evaluateAttribute
public abstract double evaluateAttribute(int attribute) throws java.lang.Exceptionevaluates an individual attribute- Parameters:
attribute- the index of the attribute to be evaluated- Returns:
- the "merit" of the attribute
- Throws:
java.lang.Exception- if the attribute could not be evaluated
-
evaluateAttribute
public abstract double evaluateAttribute(int[] attributes, int[] classAttributes) throws java.lang.ExceptionEvaluates a set of attributes- Parameters:
attributes- anint[]valueclassAttributes- anint[]value- Returns:
- a
doublevalue - Throws:
java.lang.Exception- if an error occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG