List of usage examples for weka.associations FPGrowth setOptions
@Override public void setOptions(String[] options) throws Exception
From source file:rdfsystem.data.DataMining.java
public static String assoiate(RdfManager manager) throws Exception { Instances ins = transformData(manager, false); FPGrowth ass = new FPGrowth(); String[] options = "-T 0 -C 0.5 -M 0.1".split(" "); ass.setOptions(options); ass.buildAssociations(ins);/*w w w.ja v a 2 s .c o m*/ List<AssociationRule> res = ass.getAssociationRules(); for (AssociationRule rule : res) System.out.println(rule); return null; }