ca.pfv.spmf.algorithms.associationrules.fhsar
Class AlgoFHSAR
- java.lang.Object
-
- ca.pfv.spmf.algorithms.associationrules.fhsar.AlgoFHSAR
-
public class AlgoFHSAR extends java.lang.ObjectAn implementation of the FHSAR algorithm for hiding sensitive association rules in a transaction database. This algorithm is described in the paper:
Weng, C. C., Chen, S. T., & Lo, H. C. (2008, November). A Novel Algorithm for Completely Hiding Sensitive Association Rules. In Intelligent Systems Design and Applications, 2008. ISDA'08. Eighth International Conference on (Vol. 3, pp. 202-208). IEEE.
-
-
Constructor Summary
Constructors Constructor and Description AlgoFHSAR()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprintStats()Print statistics about the latest execution.voidrunAlgorithm(java.lang.String input, java.lang.String inputSAR, java.lang.String output, double minsup, double minconf)Run the FHSAR algorithm
-
-
-
Method Detail
-
runAlgorithm
public void runAlgorithm(java.lang.String input, java.lang.String inputSAR, java.lang.String output, double minsup, double minconf) throws java.io.IOExceptionRun the FHSAR algorithm- Parameters:
input- the file path to a transaction databaseinputSAR- the file path to a set of sensitive association rules to be hiddenoutput- the output file path for writing the modified transaction databaseminsup- the minimum support thresholdminconf- the minimum confidence threshold- Throws:
java.io.IOException- exception if an error while writing the file
-
printStats
public void printStats()
Print statistics about the latest execution.
-
-
DMelt 3.0 © DataMelt by jWork.ORG