weka.classifiers.rules
Class JRip.Antd

java.lang.Object
  extended byweka.classifiers.rules.JRip.Antd
All Implemented Interfaces:
Copyable, java.io.Serializable, WeightedInstancesHandler
Direct Known Subclasses:
JRip.NominalAntd, JRip.NumericAntd
Enclosing class:
JRip

private abstract class JRip.Antd
extends java.lang.Object
implements WeightedInstancesHandler, Copyable, java.io.Serializable

The single antecedent in the rule, which is composed of an attribute and the corresponding value. There are two inherited classes, namely NumericAntd and NominalAntd in which the attributes are numeric and nominal respectively.


Field Summary
protected  double accu
           
protected  double accuRate
           
protected  Attribute att
           
protected  double cover
           
protected  double maxInfoGain
           
protected  double value
           
 
Constructor Summary
JRip.Antd(Attribute a)
           
 
Method Summary
abstract  java.lang.Object copy()
          Implements Copyable
abstract  boolean covers(Instance inst)
           
 double getAccu()
           
 double getAccuRate()
           
 Attribute getAttr()
           
 double getAttrValue()
           
 double getCover()
           
 double getMaxInfoGain()
           
abstract  Instances[] splitData(Instances data, double defAcRt, double cla)
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

att

protected Attribute att

value

protected double value

maxInfoGain

protected double maxInfoGain

accuRate

protected double accuRate

cover

protected double cover

accu

protected double accu
Constructor Detail

JRip.Antd

public JRip.Antd(Attribute a)
Method Detail

splitData

public abstract Instances[] splitData(Instances data,
                                      double defAcRt,
                                      double cla)

covers

public abstract boolean covers(Instance inst)

toString

public abstract java.lang.String toString()

copy

public abstract java.lang.Object copy()
Implements Copyable

Specified by:
copy in interface Copyable

getAttr

public Attribute getAttr()

getAttrValue

public double getAttrValue()

getMaxInfoGain

public double getMaxInfoGain()

getAccuRate

public double getAccuRate()

getAccu

public double getAccu()

getCover

public double getCover()