Package org.encog.ml.fitting.gaussian

Examples of org.encog.ml.fitting.gaussian.TrainGaussian


  public void testGauss() {
    double[][] INPUT = { {3,8}, {4,7}, {5,5}, {6,3}, {7,2} };
   
    MLDataSet data = new BasicMLDataSet(INPUT, null);
    GaussianFitting fit = new GaussianFitting(INPUT[0].length);
    TrainGaussian train = new TrainGaussian(fit,data);
    train.iteration();
   
    for(MLDataPair pair: data){
      MLData output = fit.compute(pair.getInput());
      System.out.println( output.getData(0));
    }
View Full Code Here

TOP

Related Classes of org.encog.ml.fitting.gaussian.TrainGaussian

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.