ca.pfv.spmf.algorithms.associationrules.IGB
Class AlgoIGB
- java.lang.Object
-
- ca.pfv.spmf.algorithms.associationrules.IGB.AlgoIGB
-
public class AlgoIGB extends java.lang.ObjectThis is an implementation of the GEN-IGB-FERMES algorithm for mining the IGB basis of association rules.
This algorithm is described in the article (in French) : "IGB : une nouvelle base g�n�rique informative des r�gles d�association" dans Information-Interaction-Intelligence (Revue I3), vol. 6, n� 1, C�padu�s-�ditions, pp. 31-67, octobre 2006
This algorithm generates the IGB basis of association rules from the set of frequent closed itemsets, their support and their associated minimal generators.
This algorithm can save the result to a file or keep it into memory if the user provides a null output file path to the runAlgorithm() method.
-
-
Constructor Summary
Constructors Constructor and Description AlgoIGB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprintStatistics()Print statistics about the algorithm execution to System.out.RulesrunAlgorithm(TZTableClosed closedPatternsAndGenerators, int databaseSize, double minconf, java.lang.String outputFilePath)Run the algorithm.
-
-
-
Method Detail
-
runAlgorithm
public Rules runAlgorithm(TZTableClosed closedPatternsAndGenerators, int databaseSize, double minconf, java.lang.String outputFilePath) throws java.io.IOException
Run the algorithm.- Parameters:
closedPatternsAndGenerators- Closed itemsets and their associated generators.databaseSize- the number of transactions in the transaction database.outputFilePath- the output file path, if the results should be saved to a file. if null, the result are saved in memory and returned by this method.- Returns:
- if the user chose to save to memory, this methods return the set of IGB association rules, otherwise, the result is saved to the output file chosen by the user.
- Throws:
java.io.IOException
-
printStatistics
public void printStatistics()
Print statistics about the algorithm execution to System.out.
-
-
DMelt 3.0 © DataMelt by jWork.ORG