@@ -0,0 +1,837 @@
+package com.rf.real.categ;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class MainRun %7B%0A  public static void main(String%5B%5D args)%7B%0A%09%09String traindata=%22/home/mohammad/Desktop/Material/KDDTrainSmall.txt%22;//data has to be separated by either ',' or ' ' only...%0A%09%09String testdata=%22/home/mohammad/Desktop/Material/KDDTestSmall.txt%22;%0A%09%09int numTrees=50;%0A%09%09%0A%09%09DescribeTreesCateg DT = new DescribeTreesCateg(traindata);%0A%09%09ArrayList%3CArrayList%3CString%3E%3E Train = DT.CreateInputCateg(traindata);%0A%09%09ArrayList%3CArrayList%3CString%3E%3E Test = DT.CreateInputCateg(testdata);%0A%09%09int M=0;//set this%0A%09%09int Ms=0;//set this%0A%09%09%0A%09%09RandomForestCateg RFC = new RandomForestCateg(numTrees, M, Ms, Train, Test);%0A%09%09RFC.M=Train.get(0).size()-1;%0A%09%09RFC.Ms = (int)Math.round(Math.log(RFC.M)/Math.log(2)+1);;%0A%09%09RFC.Start();%0A%09%09%0A%09%09//System.out.println(%22Printing traindata %22+Train);%0A%09%09%0A%09%7D%0A%7D%0A

Create MainRun.java