diff src/de/mpiwg/anteater/ml/impl/WekaMLComponent.java @ 6:50aeb96a8ee9

bugfix: person ml
author jdamerow
date Thu, 01 Nov 2012 13:23:25 -0700
parents 036535fcd179
children
line wrap: on
line diff
--- a/src/de/mpiwg/anteater/ml/impl/WekaMLComponent.java	Thu Oct 25 15:26:03 2012 -0700
+++ b/src/de/mpiwg/anteater/ml/impl/WekaMLComponent.java	Thu Nov 01 13:23:25 2012 -0700
@@ -28,7 +28,8 @@
 	public List<Double> run(String testFile) {
 		Instances testData = null;
 		try {
-			testData = DataSource.read(testFile);
+			DataSource source = new DataSource(testFile);
+			testData = source.getDataSet(); //DataSource.read(testFile);
 		} catch (IOException e) {
 			// TODO Auto-generated catch block
 			e.printStackTrace();