Package org.encog.neural.networks.training.propagation.manhattan

Examples of org.encog.neural.networks.training.propagation.manhattan.ManhattanPropagation


  public void testManhattan() throws Throwable
  {
    MLDataSet trainingData = new BasicMLDataSet(XOR.XOR_INPUT,XOR.XOR_IDEAL);
   
    BasicNetwork network = NetworkUtil.createXORNetworkUntrained();
    MLTrain bprop = new ManhattanPropagation(network, trainingData, 0.01);
    NetworkUtil.testTraining(bprop,0.01);
  }
View Full Code Here


      if( kFold>0 ) {
        trainingData = this.wrapTrainingData(trainingData);
      }
     
      MLTrain train = new ManhattanPropagation(
          (BasicNetwork) file.getObject(), trainingData, learningRate);
     
      if( kFold>0 ) {
        train = this.wrapTrainer(trainingData,train,kFold);
      }     
View Full Code Here

    final ParamsHolder holder = new ParamsHolder(args);

    final double learningRate = holder.getDouble(
        MLTrainFactory.PROPERTY_LEARNING_RATE, false, 0.1);

    return new ManhattanPropagation((BasicNetwork) method, training,
        learningRate);
  }
View Full Code Here

  public void testManhattan() throws Throwable
  {
    MLDataSet trainingData = new BasicMLDataSet(XOR.XOR_INPUT,XOR.XOR_IDEAL);
   
    BasicNetwork network = NetworkUtil.createXORNetworkUntrained();
    MLTrain bprop = new ManhattanPropagation(network, trainingData, 0.01);
    NetworkUtil.testTraining(trainingData,bprop,0.01);
  }
View Full Code Here

    return this.learningRate;
  }

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

    final ParamsHolder holder = new ParamsHolder(args);

    final double learningRate = holder.getDouble(
        MLTrainFactory.PROPERTY_LEARNING_RATE, false, 0.1);

    return new ManhattanPropagation((BasicNetwork) method, training,
        learningRate);
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.training.propagation.manhattan.ManhattanPropagation

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.