Package org.encog.neural.cpn.training

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


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

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


      InputInstar dialog = new InputInstar();

      if (dialog.process()) {
        double learnRate = dialog.getLearningRate().getValue();
        boolean init = dialog.getInitWeights().getValue();
        TrainInstar train = new TrainInstar((CPN)file.getObject(),trainingData,learnRate,init);
        startup(file,train, dialog.getMaxError().getValue()/100.0);
      }
    } else if (sel.getSelected() == selectOutstar) {
      InputOutstar dialog = new InputOutstar();
View Full Code Here

TOP

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

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.