public void doRegression() {
		
		List<Instance> trainingInstances = generateDataSet(mTrainingFilePath);
		List<Instance> testingInstances = generateDataSet(mTestingFilePath);
		
		//
		// use defined training method to do training
		//
		// 
		// 3. use the specified algorithm to process the Instance
		//
		Evaluation evaluator = new Evaluation(testingInstances);
		for (String trainingMethod : trainingMethods) {
			Training trainer = createTrainingMethod(trainingMethod);
			double[] finalweight = trainer.train(trainingInstances,testingInstances);
			String fweight = IOUtils.ArraytoString(finalweight);
			System.out.println("Weight is "+ fweight);
			double SSE = evaluator.calculateSSE(finalweight);
		}
		
	}