Package weka.associations

Examples of weka.associations.Apriori


   * Train apriori.
   *
   * @param data the data
   */
  public void trainApriori(Instances data) {
    Apriori nb = new Apriori();
    nb.setUpperBoundMinSupport(0.8);
   
      try {
      nb.buildAssociations(data);
    } catch (Exception e) {
      e.printStackTrace();
    }
   
      System.out.println(nb);
View Full Code Here

TOP

Related Classes of weka.associations.Apriori

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.