public interface CARuleMiner extends OptionHandler
Modifier and Type | Method and Description |
---|---|
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
|
java.util.ArrayList<java.lang.Object>[] |
mineCARs(Instances data)
Method for mining class association rules.
|
void |
setClassIndex(int index)
Sets the class index for the class association rule miner
|
getOptions, listOptions, makeCopy, setOptions
java.util.ArrayList<java.lang.Object>[] mineCARs(Instances data) throws java.lang.Exception
data
- the insatnces for which class association rules are minedjava.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