@@ -0,0 +1,816 @@
+package com.rf.real;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class MainRun %7B%0A  %0A%09public static void main(String args%5B%5D)%7B%0A%0A%09%09String traindata=%22/home/mohammad/Desktop/Material/Data.txt%22;%0A%09%09String testdata=%22/home/mohammad/Desktop/Material/Test.txt%22;%0A%09%09int numTrees=50;%0A%09%09%0A%09%09DescribeTrees DT = new DescribeTrees(traindata);%0A%09%09ArrayList%3Cint%5B%5D%3E Input=DT.CreateInput(traindata);int categ=0;%0A%09%09%0A%09%09DescribeTrees DTT = new DescribeTrees(traindata);%0A%09%09ArrayList%3Cint%5B%5D%3E Test=DTT.CreateInput(testdata);%0A%09%09%0A%09%09for(int k=0;k%3CInput.size();k++)%7Bif(Input.get(k)%5BInput.get(k).length-1%5D%3Ccateg)continue;else%7Bcateg=Input.get(k)%5BInput.get(k).length-1%5D;%7D%7D%0A%09%09%0A%09%09RandomForest RaF =new RandomForest(numTrees, Input, Test);%0A%09%09RaF.C=categ;%0A%09%09RaF.M=Input.get(0).length-1;%0A%09%09RaF.Ms=(int)Math.round(Math.log(RaF.M)/Math.log(2)+1);%0A%09%09RaF.Start();%0A%0A%09%7D%0A%7D%0A

Create MainRun.java