Package stallone.api.hmm

Examples of stallone.api.hmm.IExpectationMaximization.run()


        IExpectationMaximization EM = hmmNew.emDiscrete(observations, par0, uniformPrior);
        EM.setMaximumNumberOfStep(nIterHMMMax);
        EM.setLikelihoodDecreaseTolerance(maxHMMLInc);

        System.out.println(" running hmm on " + observations.size() + " x " + observations.get(0).size() + " observations with maxIter " + nIterHMMMax);
        EM.run();
        hmmLikelihoodHistory = EM.getLogLikelihoodHistory();
        System.out.println(" hmm iterations: " + hmmLikelihoodHistory.length);
        System.out.println(" likelihood history: " + doubleArrays.toString(hmmLikelihoodHistory, "\n"));

        // HMM
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.