weka.attributeSelection
Class AttributeEvaluator
java.lang.Object
|
+--weka.attributeSelection.ASEvaluation
|
+--weka.attributeSelection.AttributeEvaluator
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ChiSquaredAttributeEval, GainRatioAttributeEval, InfoGainAttributeEval, OneRAttributeEval, PrincipalComponents, ReliefFAttributeEval, SymmetricalUncertAttributeEval, UnsupervisedAttributeEvaluator
- public abstract class AttributeEvaluator
- extends ASEvaluation
Abstract attribute evaluator. Evaluate attributes individually.
- Version:
- $Revision: 1.7 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
- See Also:
- Serialized Form
Method Summary |
abstract double |
evaluateAttribute(int attribute)
evaluates an individual attribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeEvaluator
public AttributeEvaluator()
evaluateAttribute
public abstract double evaluateAttribute(int attribute)
throws Exception
- 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