Package org.encog.neural.networks.training.lma

Examples of org.encog.neural.networks.training.lma.LevenbergMarquardtTraining


  public void testLMA() throws Throwable
  {
    MLDataSet trainingData = new BasicMLDataSet(XOR.XOR_INPUT,XOR.XOR_IDEAL);
   
    BasicNetwork network = NetworkUtil.createXORNetworkUntrained();
    MLTrain rprop = new LevenbergMarquardtTraining(network, trainingData);
    NetworkUtil.testTraining(rprop,0.03);
  }
View Full Code Here


  private void performLMA(ProjectEGFile file, MLDataSet trainingData) {
    InputLMA dialog = new InputLMA();

    if (dialog.process()) {
      LevenbergMarquardtTraining train = new LevenbergMarquardtTraining(
          (BasicNetwork) file.getObject(), trainingData);
      startup(file, train, dialog.getMaxError().getValue() / 100.0);
    }
  }
View Full Code Here

    }

    final Map<String, String> args = ArchitectureParse.parseParams(argsStr);
    final ParamsHolder holder = new ParamsHolder(args);

    final LevenbergMarquardtTraining result
      = new LevenbergMarquardtTraining(
        (BasicNetwork) method, training);
    return result;
  }
View Full Code Here

      throw new EncogError(
          "LMA training cannot be used on a method of type: "
              + method.getClass().getName());
    }

    final LevenbergMarquardtTraining result
      = new LevenbergMarquardtTraining(
        (BasicNetwork) method, training);
    return result;
  }
View Full Code Here

  public void testLMA() throws Throwable
  {
    MLDataSet trainingData = new BasicMLDataSet(XOR.XOR_INPUT,XOR.XOR_IDEAL);
   
    BasicNetwork network = NetworkUtil.createXORNetworkUntrained();
    MLTrain rprop = new LevenbergMarquardtTraining(network, trainingData);
    NetworkUtil.testTraining(trainingData,rprop,0.03);
  }
View Full Code Here

public class LevenbergMarquardtFactory implements EnsembleTrainFactory {

  @Override
  public MLTrain getTraining(MLMethod mlMethod, MLDataSet trainingData) {
    return (MLTrain) new LevenbergMarquardtTraining((BasicNetwork) mlMethod, trainingData);
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.training.lma.LevenbergMarquardtTraining

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.