|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for learning class association rules. All schemes for learning class association rules implemement this interface.
Method Summary | |
Instances |
getInstancesNoClass()
Gets the instances without the class attribute |
Instances |
getInstancesOnlyClass()
Gets the class attribute and its values for all instances |
java.lang.String |
metricString()
Gets name of the scoring metric used for car mining |
FastVector[] |
mineCARs(Instances data)
Method for mining class association rules. |
void |
setClassIndex(int index)
Sets the class index for the class association rule miner |
Methods inherited from interface weka.core.OptionHandler |
getOptions, listOptions, setOptions |
Method Detail |
public FastVector[] mineCARs(Instances data) throws java.lang.Exception
data
- the insatnces for which class association rules are mined
java.lang.Exception
- throws exception if class association rules cannot be minedpublic Instances getInstancesNoClass()
public Instances getInstancesOnlyClass()
public java.lang.String metricString()
public void setClassIndex(int index)
index
- the class index
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |