Package com.enterprisemath.math.probability

Examples of com.enterprisemath.math.probability.NormalDistribution


            }
            // split the component with highest weight
            NormalDistributionMixture.Builder builder = new NormalDistributionMixture.Builder();
            for (int i = 0; i < res.getNumComponents(); ++i) {
                if (i == splitIdx) {
                    NormalDistribution comp = res.getComponents().get(i);
                    builder.addComponent(res.getWeights().get(i) / 2, comp.getMi() + comp.getSigma() / 2, comp.getSigma());
                    builder.addComponent(res.getWeights().get(i) / 2, comp.getMi() - comp.getSigma() / 2, comp.getSigma());
                }
                else {
                    if (res.getWeights().get(i) >= minWeight) {
                        builder.addComponent(res.getWeights().get(i), res.getComponents().get(i));
                    }
View Full Code Here

TOP

Related Classes of com.enterprisemath.math.probability.NormalDistribution

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.