|
||||||||||
| 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 |
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 |
|---|
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 minedInstances getInstancesNoClass()
Instances getInstancesOnlyClass()
java.lang.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 | |||||||||