weka.classifiers.rules
Class JRip.Antd
java.lang.Object
weka.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
att
protected Attribute att
value
protected double value
maxInfoGain
protected double maxInfoGain
accuRate
protected double accuRate
cover
protected double cover
accu
protected double accu
JRip.Antd
public JRip.Antd(Attribute a)
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()