comparison 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
comparison
equal deleted inserted replaced
5:35d8c78ccd36 6:50aeb96a8ee9
26 26
27 @Override 27 @Override
28 public List<Double> run(String testFile) { 28 public List<Double> run(String testFile) {
29 Instances testData = null; 29 Instances testData = null;
30 try { 30 try {
31 testData = DataSource.read(testFile); 31 DataSource source = new DataSource(testFile);
32 testData = source.getDataSet(); //DataSource.read(testFile);
32 } catch (IOException e) { 33 } catch (IOException e) {
33 // TODO Auto-generated catch block 34 // TODO Auto-generated catch block
34 e.printStackTrace(); 35 e.printStackTrace();
35 } catch (Exception e) { 36 } catch (Exception e) {
36 // TODO Auto-generated catch block 37 // TODO Auto-generated catch block