graphData.readArff(dataFile);
// you need to connect it too, which will help
// the instance IGraphData to understand how to
// format dta so that they fit the network
graphData.connect(network);
// finally, learn!
learner.learnFromTable(graphData);
inference = new JTInference();