|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CARuleMiner
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 |
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 |
---|
FastVector[] mineCARs(Instances data) throws Exception
data
- the insatnces for which class association rules are mined
Exception
- throws exception if class association rules cannot be minedInstances getInstancesNoClass()
Instances getInstancesOnlyClass()
String metricString()
void setClassIndex(int index)
index
- the class index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |