EncogLogging.log(EncogLogging.LEVEL_DEBUG, "resource file:"
+ resourceID);
EncogLogging.log(EncogLogging.LEVEL_DEBUG, "type:" + type);
EncogLogging.log(EncogLogging.LEVEL_DEBUG, "arch:" + arch);
final EncogEGBFile egb = new EncogEGBFile(trainingFile);
egb.open();
final int input = egb.getInputCount();
final int ideal = egb.getIdealCount();
egb.close();
final MLMethodFactory factory = new MLMethodFactory();
final MLMethod obj = factory.create(type, arch, input, ideal);
if (obj instanceof BayesianNetwork) {