|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.rules.JRip.Antd
weka.classifiers.rules.JRip.NominalAntd
The antecedent with nominal attribute
Field Summary | |
protected double |
accu
|
private double[] |
accurate
|
protected double |
accuRate
|
protected Attribute |
att
|
protected double |
cover
|
private double[] |
coverage
|
protected double |
maxInfoGain
|
protected double |
value
|
Constructor Summary | |
JRip.NominalAntd(Attribute a)
|
Method Summary | |
java.lang.Object |
copy()
Implements Copyable |
boolean |
covers(Instance inst)
Whether the instance is covered by this antecedent |
double |
getAccu()
|
double |
getAccuRate()
|
Attribute |
getAttr()
|
double |
getAttrValue()
|
double |
getCover()
|
double |
getMaxInfoGain()
|
Instances[] |
splitData(Instances data,
double defAcRt,
double cl)
Implements the splitData function. |
java.lang.String |
toString()
Prints this antecedent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private double[] accurate
private double[] coverage
protected Attribute att
protected double value
protected double maxInfoGain
protected double accuRate
protected double cover
protected double accu
Constructor Detail |
public JRip.NominalAntd(Attribute a)
Method Detail |
public java.lang.Object copy()
copy
in interface Copyable
copy
in class JRip.Antd
public Instances[] splitData(Instances data, double defAcRt, double cl)
splitData
in class JRip.Antd
data
- the data to be splitdefAcRt
- the default accuracy rate for datacl
- the class label to be predicted
public boolean covers(Instance inst)
covers
in class JRip.Antd
inst
- the instance in question
public java.lang.String toString()
toString
in class JRip.Antd
public Attribute getAttr()
public double getAttrValue()
public double getMaxInfoGain()
public double getAccuRate()
public double getAccu()
public double getCover()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |