Package weka.associations

Examples of weka.associations.FPGrowth$FrequentBinaryItemSet


    BufferedReader br = new BufferedReader(new FileReader(arffout));
    Instances inst = new Instances(br);
    br.close();

    FPGrowth fp = new FPGrowth();
    fp.setLowerBoundMinSupport(5.0);
    fp.setNumRulesToFind(100000);
    fp.setUpperBoundMinSupport(1.0);
    fp.setMinMetric(.0);
    fp.buildAssociations(inst);
    List<FPGrowth.AssociationRule> rules = fp.getAssociationRules();

    Set fpgrowth = new TreeSet();
    String pattern;
    PrintWriter writer;
    writer = new PrintWriter(new FileWriter(fpout));
View Full Code Here

TOP

Related Classes of weka.associations.FPGrowth$FrequentBinaryItemSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.