weka.classifiers.rules
Class FRIP.Antd

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

protected abstract class FRIP.Antd
extends java.lang.Object
implements weka.core.WeightedInstancesHandler, weka.core.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.

See Also:
Serialized Form

Field Summary
protected  double accu
          The accurate data for this antecedent in the growing data
protected  double accuRate
          The accurate rate of this antecedent test on the growing data
protected  weka.core.Attribute att
          The attribute of the antecedent
protected  double cover
          The coverage of this antecedent in the growing data
protected  double maxInfoGain
          The maximum infoGain achieved by this antecedent test in the growing data
protected  double value
          The attribute value of the antecedent.
 
Constructor Summary
FRIP.Antd(weka.core.Attribute a)
          Constructor
 
Method Summary
abstract  java.lang.Object copy()
          Implements Copyable
abstract  double covers(weka.core.Instance inst)
           
 double getAccu()
           
 double getAccuRate()
           
 weka.core.Attribute getAttr()
           
 double getAttrValue()
           
 double getCover()
           
 double getMaxInfoGain()
           
abstract  weka.core.Instances[] splitData(weka.core.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 weka.core.Attribute att
The attribute of the antecedent


value

protected double value
The attribute value of the antecedent. For numeric attribute, value is either 0(1st bag) or 1(2nd bag)


maxInfoGain

protected double maxInfoGain
The maximum infoGain achieved by this antecedent test in the growing data


accuRate

protected double accuRate
The accurate rate of this antecedent test on the growing data


cover

protected double cover
The coverage of this antecedent in the growing data


accu

protected double accu
The accurate data for this antecedent in the growing data

Constructor Detail

FRIP.Antd

public FRIP.Antd(weka.core.Attribute a)
Constructor

Method Detail

splitData

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

covers

public abstract double covers(weka.core.Instance inst)

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object

copy

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

Specified by:
copy in interface weka.core.Copyable
Returns:
a copy of this object

getAttr

public weka.core.Attribute getAttr()

getAttrValue

public double getAttrValue()

getMaxInfoGain

public double getMaxInfoGain()

getAccuRate

public double getAccuRate()

getAccu

public double getAccu()

getCover

public double getCover()