public MLDataSet getValidationSet() {
   if (this.comboValidation.getSelectedValue() == null) return null;
   File file = ((ProjectTraining) this.comboValidation.getSelectedValue()).getFile();
   BufferedMLDataSet result = new BufferedMLDataSet(file);
   if (this.loadToMemory.getValue()) return result.loadToMemory();
   else return result;
 }
 public static MLDataSet loadEGB2Memory(File filename) {
   BufferedMLDataSet buffer = new BufferedMLDataSet(filename);
   return buffer.loadToMemory();
 }