Package org.encog.ml.fitting.gaussian

Examples of org.encog.ml.fitting.gaussian.TrainGaussian.iteration()


    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
Copyright © 2018 www.massapi.com. 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.