public void crossFold10(String fileLoc){
		Instances data = null;
		BufferedReader reader = null;
		
		System.out.println("---------------Running Crossfold10 Testing Using Random Forrest On Data---------------");
		
		// Need to build data to fit into evaluation
		try {
			//Read in data from the .arff file
			reader = new BufferedReader(new FileReader(fileLoc)); 
			data = new Instances(reader);
			reader.close();
			//Sets the class index (what to classify on) to the last value in the data file, this case {healthy,unhealthy}
			data.setClassIndex(data.numAttributes() - 1);
		} catch (IOException e) {
			System.err.println("Buffered reader for Random Forest input could not be created: " + e);
		}
		
		try {
			//evaluate the data 
			Evaluation evalu = new Evaluation(data);

			int folds = 10;
			//runs crossfold validation on the randomforest
			evalu.crossValidateModel(rf, data, folds, new Random(1));
			
			//Output for crossfold 10 
			System.out.println("CrossFold10 classification details: " + evalu.toClassDetailsString());
			System.out.println("CrossFold10 Stats:" + evalu.toSummaryString(true));
			System.out.println("Crossfold10 confusion matrix: " + evalu.toMatrixString());
			
			System.out.println("number of correctly classified images: " +evalu.correct());
			System.out.println("number of incorrectly classified images: " +evalu.incorrect());
			System.out.println("percent of images correctly classified: " + evalu.pctCorrect());
			
			for(int i = 0; i < rf.getOptions().length; i++){
				System.out.println("Maximum depth of trees " + rf.getOptions()[i]);
			}
			
		} catch (Exception e) {
			System.err.println("Could not build Random forrest from data: " + e);
		}
	}