类 JRip.NominalAntd

java.lang.Object
weka.classifiers.rules.JRip.Antd
weka.classifiers.rules.JRip.NominalAntd
所有已实现的接口:
Serializable, Copyable, RevisionHandler, WeightedInstancesHandler
封闭类:
JRip

public class JRip.NominalAntd extends JRip.Antd
The antecedent with nominal attribute
另请参阅:
  • 构造器详细资料

    • NominalAntd

      public NominalAntd(Attribute a)
      Constructor
  • 方法详细资料

    • copy

      public Object copy()
      Implements Copyable
      指定者:
      copy 在接口中 Copyable
      指定者:
      copy 在类中 JRip.Antd
      返回:
      a copy of this object
    • splitData

      public Instances[] splitData(Instances data, double defAcRt, double cl)
      Implements the splitData function. This procedure is to split the data into bags according to the nominal attribute value The infoGain for each bag is also calculated.
      指定者:
      splitData 在类中 JRip.Antd
      参数:
      data - the data to be split
      defAcRt - the default accuracy rate for data
      cl - the class label to be predicted
      返回:
      the array of data after split
    • covers

      public boolean covers(Instance inst)
      Whether the instance is covered by this antecedent
      指定者:
      covers 在类中 JRip.Antd
      参数:
      inst - the instance in question
      返回:
      the boolean value indicating whether the instance is covered by this antecedent
    • toString

      public String toString()
      Prints this antecedent
      指定者:
      toString 在类中 JRip.Antd
      返回:
      a textual description of this antecedent
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 JRip.Antd
      返回:
      the revision