Package org.encog.neural.cpn.training

Examples of org.encog.neural.cpn.training.TrainOutstar


 
  public void trainOutstar(CPN network,MLDataSet training)
  {
    int epoch = 1;

    MLTrain train = new TrainOutstar(network,training,0.1);
    do {
      train.iteration();
      System.out
          .println("Training outstar, Epoch #" + epoch + ", error=" + train.getError() );
      epoch++;
    } while(train.getError()>0.01);
  }
View Full Code Here


    } else if (sel.getSelected() == selectOutstar) {
      InputOutstar dialog = new InputOutstar();

      if (dialog.process()) {
        double learnRate = dialog.getLearningRate().getValue();
        TrainOutstar train = new TrainOutstar((CPN)file.getObject(),trainingData,learnRate);
        startup(file,train, dialog.getMaxError().getValue()/100.0);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.cpn.training.TrainOutstar

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.