////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// convert TDB to weka
//c.print();
WekaInterface wekaInter = new WekaInterface();
String[] pars = {"Location", "X", "Y", "Mission", "Meeting", "Route", "Type"};
Instances data1 = wekaInter.getWekaDataFromUMatrix("Type", pars);
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// training
wekaInter.saveWekaFile("world.arff", data1);
BayesNet BN = wekaInter.trainBayesNet(data1);
wekaInter.saveBIFFromFile("world.xml", BN);
}