Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.MSApriori.AlgoMSApriori' Java class
AlgoMSApriori
ca.pfv.spmf.algorithms.frequentpatterns.MSApriori

Class AlgoMSApriori



  • public class AlgoMSApriori
    extends java.lang.Object
    This is an implementation of the MSApriori algorithm as described by :

    Bing Liu et al. (1999). Mining Association Rules with Multiple Minimum Supports, Proceedings of KDD 1999.

    This implementation was made by AZADEH SOLTANI based on the Apriori implementation by Philippe Fournier-Viger
    See Also:
    Itemset
    • Constructor Summary

      Constructors 
      Constructor and Description
      AlgoMSApriori()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void printStats()
      Print statistics about the latest execution of the algorithm to System.out.
      void runAlgorithm(java.lang.String input, java.lang.String output, double beta, double LS)
      Run the algorithm
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlgoMSApriori

        public AlgoMSApriori()
        Constructor
    • Method Detail

      • runAlgorithm

        public void runAlgorithm(java.lang.String input,
                                 java.lang.String output,
                                 double beta,
                                 double LS)
                          throws java.io.IOException
        Run the algorithm
        Parameters:
        input - an input file containing a transaction database
        output - an output file path for writing the result
        beta - the parameter Beta for generating MIS values for all items (see paper)
        LS - the parameter LS for generating MIS values for all items (see paper)
        Throws:
        java.io.IOException - exception if error while writing the output file
      • printStats

        public void printStats()
        Print statistics about the latest execution of the algorithm to System.out.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.