Documentation of 'ca.pfv.spmf.algorithms.sequential_rules.rulegrowth.AlgoERMiner' Java class
AlgoERMiner
ca.pfv.spmf.algorithms.sequential_rules.rulegrowth

Class AlgoERMiner



  • public class AlgoERMiner
    extends java.lang.Object
    This is the original implementation of the ERMiner algorithm for mining sequential rules common to several sequences where antecedent and consequent are unordered itemsets.

    The main method of this algorithm is "runAlgorithm". It output the result to a file.
    See Also:
    Occurence, Sequence, SequenceDatabase
    • Constructor Summary

      Constructors 
      Constructor and Description
      AlgoERMiner()
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int[] concatenate(int[] itemset, int item) 
      void printStats()
      Print statistics about the last algorithm execution to System.out.
      void runAlgorithm(double minSupport, double minConfidence, java.lang.String input, java.lang.String output)
      The main method to run the algorithm
      void runAlgorithm(java.lang.String input, java.lang.String output, int relativeMinsup, double minConfidence)
      The main method to run the algorithm
      • Methods inherited from class java.lang.Object

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

      • AlgoERMiner

        public AlgoERMiner()
        Default constructor
    • Method Detail

      • runAlgorithm

        public void runAlgorithm(double minSupport,
                                 double minConfidence,
                                 java.lang.String input,
                                 java.lang.String output)
                          throws java.io.IOException
        The main method to run the algorithm
        Parameters:
        minSupport - : the minimum support (percentage as a double value)
        minConfidence - : the minimum confidence threshold
        input - : an input file path of a seq uence database
        output - : a file path for writing the output file containing the seq. rules.
        Throws:
        java.io.IOException - if error reading/writing files
      • runAlgorithm

        public void runAlgorithm(java.lang.String input,
                                 java.lang.String output,
                                 int relativeMinsup,
                                 double minConfidence)
                          throws java.io.IOException
        The main method to run the algorithm
        Parameters:
        relativeMinsup - : the minimum support as an integer value (a relative minimum support)
        minConfidence - : the minimum confidence threshold
        input - : an input file path of a sequence database
        output - : a file path for writing the output file containing the seq. rules.
        Throws:
        java.io.IOException - if error reading/writing files
      • concatenate

        public int[] concatenate(int[] itemset,
                                 int item)
      • printStats

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.