Package org.encog.ml.data.buffer

Examples of org.encog.ml.data.buffer.BufferedNeuralDataSet


   */
  public MLDataSet getTrainingSet() {
    if( this.getComboTraining().getSelectedValue()==null )     
      return null;
    File file = ((ProjectTraining)this.getComboTraining().getSelectedValue()).getFile();
    BufferedNeuralDataSet result = new BufferedNeuralDataSet(file);
    if( this.loadToMemory.getValue())
      return result.loadToMemory();
    else
      return result;
  }
View Full Code Here


   */
  public MLDataSet getTrainingSet() {
    if( this.comboTraining.getSelectedValue()==null )     
      return null;
    File file = ((ProjectTraining)this.comboTraining.getSelectedValue()).getFile();
    BufferedNeuralDataSet result = new BufferedNeuralDataSet(file);
    return result;
  }
View Full Code Here

    if (dialog.process()) {
      int elements = dialog.getElements().getValue();
      int input = dialog.getInput().getValue();
      int output = dialog.getIdeal().getValue();

      BufferedNeuralDataSet trainingData = new BufferedNeuralDataSet(file);

      MLDataPair pair = BasicMLDataPair.createPair(input,
          output);
      trainingData.beginLoad(input, output);
      for (int i = 0; i < elements; i++) {
        trainingData.add(pair);
      }
      trainingData.endLoad();
    }
  }
View Full Code Here

TOP

Related Classes of org.encog.ml.data.buffer.BufferedNeuralDataSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.