|
||||||||||
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.NumericAntd
public class JRip.NumericAntd
The antecedent with numeric attribute
Constructor Summary | |
---|---|
JRip.NumericAntd(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. |
double |
getSplitPoint()
Get split point of this numeric antecedent |
Instances[] |
splitData(Instances insts,
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.NumericAntd(Attribute a)
Method Detail |
---|
public double getSplitPoint()
public java.lang.Object copy()
copy
in interface Copyable
copy
in class JRip.Antd
public Instances[] splitData(Instances insts, double defAcRt, double cl)
splitData
in class JRip.Antd
insts
- 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 |