Package com.enterprisemath.math.algebra

Examples of com.enterprisemath.math.algebra.Hypercube


     *
     * @param observations observation for which the mixture will be estimated
     * @return estimated mixture
     */
    public DiagonalNormalDistributionMixture estimate(ObservationProvider<Vector> observations) {
        Hypercube minMax = extractHypercube(observations);
        for (int i = 0; i < minMax.getDimension(); ++i) {
            ValidationUtils.guardGreaterOrEqualDouble(minMax.getMin().getComponent(i), -1000000,
                    "observation is out of range for calcualtion");
            ValidationUtils.guardGreaterOrEqualDouble(1000000, minMax.getMax().getComponent(i),
                    "observation is out of range for calcualtion");
        }

        DiagonalNormalDistributionMixture res = initializeOneCompoenent(observations, minMax.getDimension());
        invokeStepListener(res);
        double resL = Double.NEGATIVE_INFINITY;
        double newL = countLnL(observations, res);

        int iteration = 0;
View Full Code Here


     *
     * @param observations observation for which the mixture will be estimated
     * @return estimated mixture
     */
    public DiagonalNormalDistributionMixture estimate(ObservationProvider<Vector> observations) {
        Hypercube minMax = extractHypercube(observations);
        for (int i = 0; i < minMax.getDimension(); ++i) {
            ValidationUtils.guardGreaterOrEqualDouble(minMax.getMin().getComponent(i), -1000000,
                    "observation is out of range for calcualtion");
            ValidationUtils.guardGreaterOrEqualDouble(1000000, minMax.getMax().getComponent(i),
                    "observation is out of range for calcualtion");
        }

        DiagonalNormalDistributionMixture res = initializeOneCompoenent(observations, minMax.getDimension());
        invokeStepListener(res);
        double resL = Double.NEGATIVE_INFINITY;
        double newL = countLnL(observations, res);

        int iteration = 0;
View Full Code Here

TOP

Related Classes of com.enterprisemath.math.algebra.Hypercube

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.