weka.attributeSelection
Class AttributeEvaluator

java.lang.Object
  extended byweka.attributeSelection.ASEvaluation
      extended byweka.attributeSelection.AttributeEvaluator
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChiSquaredAttributeEval, GainRatioAttributeEval, InfoGainAttributeEval, OneRAttributeEval, ReliefFAttributeEval, SVMAttributeEval, 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

Constructor Summary
AttributeEvaluator()
           
 
Method Summary
abstract  double evaluateAttribute(int attribute)
          evaluates an individual attribute
 
Methods inherited from class weka.attributeSelection.ASEvaluation
buildEvaluator, forName, makeCopies, postProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeEvaluator

public AttributeEvaluator()
Method Detail

evaluateAttribute

public abstract double evaluateAttribute(int attribute)
                                  throws java.lang.Exception
evaluates 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