Package be.ac.ulg.montefiore.run.distributions

Examples of be.ac.ulg.montefiore.run.distributions.GaussianDistribution.generate()


    for (int g = 0, i = 0; g < 2; g++) {
      RandomDistribution d = new GaussianDistribution(g * 4.,
          1 + g);
     
      for (; i < ((g == 0) ? nbObservations / 3 : nbObservations); i++)
        observations[i] = new ObservationReal(d.generate());
    }
   
    // Fit distribution to observations
    OpdfGaussianMixture gm = new OpdfGaussianMixture(2);
   
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.