类 AttributeSetEvaluator

java.lang.Object
weka.attributeSelection.ASEvaluation
weka.attributeSelection.AttributeSetEvaluator
所有已实现的接口:
Serializable, CapabilitiesHandler, RevisionHandler

public abstract class AttributeSetEvaluator extends ASEvaluation
Abstract attribute set evaluator.
版本:
$Revision: 1.3 $
作者:
Zheng Zhao: zhaozheng at asu.edu
另请参阅:
  • 构造器详细资料

    • AttributeSetEvaluator

      public AttributeSetEvaluator()
  • 方法详细资料

    • evaluateAttribute

      public abstract double evaluateAttribute(int attribute) throws Exception
      evaluates an individual attribute
      参数:
      attribute - the index of the attribute to be evaluated
      返回:
      the "merit" of the attribute
      抛出:
      Exception - if the attribute could not be evaluated
    • evaluateAttribute

      public abstract double evaluateAttribute(int[] attributes, int[] classAttributes) throws Exception
      Evaluates a set of attributes
      参数:
      attributes - an int[] value
      classAttributes - an int[] value
      返回:
      a double value
      抛出:
      Exception - if an error occurs