package com.rf.real;

import java.util.ArrayList;

public class MainRun {
  
	public static void main(String args[]){

		String traindata="/home/mohammad/Desktop/Material/Data.txt";
		String testdata="/home/mohammad/Desktop/Material/Test.txt";
		int numTrees=50;
		
		DescribeTrees DT = new DescribeTrees(traindata);
		ArrayList<int[]> Input=DT.CreateInput(traindata);int categ=0;
		
		DescribeTrees DTT = new DescribeTrees(traindata);
		ArrayList<int[]> Test=DTT.CreateInput(testdata);
		
		for(int k=0;k<Input.size();k++){if(Input.get(k)[Input.get(k).length-1]<categ)continue;else{categ=Input.get(k)[Input.get(k).length-1];}}
		
		RandomForest RaF =new RandomForest(numTrees, Input, Test);
		RaF.C=categ;
		RaF.M=Input.get(0).length-1;
		RaF.Ms=(int)Math.round(Math.log(RaF.M)/Math.log(2)+1);
		RaF.Start();

	}
}

@@ -71,10 +71,43 @@
 n %7B%0A
-  
+%09@SuppressWarnings(%22static-access%22)
 %0A%09pu
@@ -289,9 +289,10 @@
 ees=
-5
+10
 0;%0A%09

Update MainRun.java