|
|||||||||||
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
public class JRip.NominalAntd
The antecedent with nominal attribute
Constructor Summary | |
---|---|
JRip.NominalAntd(Attribute a)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
copy()
Implements Copyable |
boolean |
covers(Instance inst)
Whether the instance is covered by this antecedent |
java.lang.String |
getRevision()
Returns the revision string. |
Instances[] |
splitData(Instances data,
double defAcRt,
double cl)
Implements the splitData function. |
java.lang.String |
toString()
Prints this antecedent |
Methods inherited from class weka.classifiers.rules.JRip.Antd |
---|
getAccu, getAccuRate, getAttr, getAttrValue, getCover, getMaxInfoGain |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class JRip.Antd
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |