CODING
import java.io.*;
public class FPgApp {
public static void main(String[] args) throws IOException {
// Create instance of class FPTree
FPtree newFPtree = new FPtree1(args);
// Read data to be mined from file
newFPtree.inputDataSet();
// Reorder and prune input data according to frequency of attributes
newFPtree.idInputDataOrdering();
newFPtree.prune();
newFPtree.setNumOneItemSets();
newFPtree.outputDataArray();
// Build initial FP-tree
newFPtree.createFPtree();
newFPtree.outputFPtree();
newFPtree.outputItemPrefixSubtree();
// Mine FP-tree
newFPtree.startMining();
newFPtree.outputNumFreqSets();
newFPtree.outputTtree();
newFPtree.outputStorage();
}
}
5:12 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment