aprioritapp.java

来自「apriori algorithm using datasets impleme」· Java 代码 · 共 61 行

JAVA
61
字号
/* ----------------------------------------------------------- *//*                                                             *//*                  APRIORI-T APPLICATION                      *//*                                                             *//*                      Frans Coenen                           *//*                                                             *//*                      12 July 2002                           *//*                                                             *//*              Department of Computer Science                 *//*               The University of Liverpool                   *//*                                                             */ /* ----------------------------------------------------------- */import java.io.*;public class AprioriTapp {        // ------------------- FIELDS ------------------------        // None        // ---------------- CONSTRUCTORS ---------------------        // None        // ------------------ METHODS ------------------------        public static void main(String[] args) throws IOException {        	// Create instance of class TotalSupportTree		TotalSupportTree newAprioriT = new TotalSupportTree(args);		// Read data to be mined from file		newAprioriT.inputDataSet();		// Mine data and produce T-tree		double time1 = (double) System.currentTimeMillis(); 	newAprioriT.createTotalSupportTree();	newAprioriT.outputDuration(time1,(double) System.currentTimeMillis());	 	// Output 	newAprioriT.outputTtree();	newAprioriT.outputNumFreqSets();	newAprioriT.outputNumUpdates();	newAprioriT.outputStorage();	newAprioriT.outputFrequentSets();		// Generate ARs		newAprioriT.generateARs();	newAprioriT.getCurrentRuleListObject().outputRules();	        // End        System.exit(0);	}    }    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?