Package org.encog.mathutil.matrices.hessian

Examples of org.encog.mathutil.matrices.hessian.HessianCR


   
    HessianFD testFD = new HessianFD();
    testFD.init(network, trainingData);
    testFD.compute();
       
    HessianCR testCR = new HessianCR();
    testCR.init(network, trainingData);
    testCR.compute();
   
    //dump(testFD, "FD");
    //dump(testCR, "CR");
    Assert.assertTrue(testCR.getHessianMatrix().equals(testFD.getHessianMatrix(), 4));
  }
View Full Code Here


    testFD.init(network, trainingData);
    testFD.compute();
   
    //dump(testFD, "FD");
       
    HessianCR testCR = new HessianCR();
    testCR.init(network, trainingData);
    testCR.compute();
   
   
    //dump(testCR, "CR");
    Assert.assertTrue(testCR.getHessianMatrix().equals(testFD.getHessianMatrix(), 4));
  }
View Full Code Here

   * @param training
   *            The training data to use. Must be indexable.
   */
  public LevenbergMarquardtTraining(final BasicNetwork network,
      final MLDataSet training) {
    this(network,training,new HessianCR());
  }
View Full Code Here

TOP

Related Classes of org.encog.mathutil.matrices.hessian.HessianCR

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.