@@ -0,0 +1,1365 @@
+package com.rf.real;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.FileReader;%0Aimport java.io.IOException;%0Aimport java.util.ArrayList;%0A%0Apublic class DescribeTrees %7B%0A//method to take the txt fle as input and pass those values to random forests%0A  BufferedReader BR = null;%0A%09String path;%0A%09public DescribeTrees(String path)%7B%0A%09%09this.path=path;%0A%09%7D%0A%09public ArrayList%3Cint%5B%5D%3E CreateInput(String path)%7B%0A%0A%09%09ArrayList%3Cint%5B%5D%3E DataInput = new ArrayList%3Cint%5B%5D%3E();%0A%09%09%0A%09%09try %7B%0A%09%09 %0A%09%09String sCurrentLine;%0A%09%09BR = new BufferedReader(new FileReader(path));%0A%0A%09%09while ((sCurrentLine = BR.readLine()) != null) %7B%0A%09%09%09ArrayList%3CInteger%3E Sp=new ArrayList%3CInteger%3E();int i;%0A%09%09%09if(sCurrentLine!=null)%7B%0A%09%09%09%09sCurrentLine=%22 %22+sCurrentLine+%22 %22;%0A%09%09%09%09for(i=0;i%3CsCurrentLine.length();i++)%7B%0A%09%09%09%09%09if(Character.isWhitespace(sCurrentLine.charAt(i)))%0A%09%09%09%09%09%09Sp.add(i);%0A%09%09%09%09%7Dint%5B%5D DataPoint = new int%5BSp.size()-1%5D;%0A%09%09%09%09for(i=0;i%3CSp.size()-1;i++)%7B%0A%09%09%09%09%09DataPoint%5Bi%5D=Integer.parseInt(sCurrentLine.substring(Sp.get(i)+1, Sp.get(i+1)));%0A%09%09%09%09%7DDataInput.add(DataPoint);//for(int t=0;t%3CDataInput.get(0).length;t++)%7BSystem.out.print(DataInput.get(0)%5Bt%5D+%22,%22);%7DSystem.out.println(%22%22);%0A%09%09%09%7D%0A%09%09%7DSystem.out.println(%22Input generated%22);%0A%0A%09%7D catch (IOException e) %7B%0A%09%09e.printStackTrace();%0A%09%7D finally %7B%0A%09%09try %7B%0A%09%09%09if (BR != null)BR.close();%0A%09%09%7D catch (IOException ex) %7B%0A%09%09%09ex.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%09return DataInput;%0A%7D%0A%7D%0A

Create DescribeTrees.java