Package com.mapr.stats.random

Examples of com.mapr.stats.random.BetaDistribution


    private double x;
    private double pdf = 0;

    public BetaWalk(double alpha, double beta, double stepSize) {
        this.bd = new BetaDistribution(alpha, beta, rand);
        this.stepSize = stepSize;
        x = bd.nextDouble();
        if (x < 0) {
            System.out.printf("heh?\n");
        }
View Full Code Here


        this.featureMap = featureMap;
        m = featureMap.numCols();
        this.state = new DenseMatrix(m, 2);
        this.state.viewColumn(0).assign(alpha_0);
        this.state.viewColumn(1).assign(beta_0);
        this.rand = new BetaDistribution(1, 1);
    }
View Full Code Here

TOP

Related Classes of com.mapr.stats.random.BetaDistribution

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.