Package org.apache.mahout.math.jet.random.sampling

Examples of org.apache.mahout.math.jet.random.sampling.WeightedRandomSampler


   * @param precomputeEpsilon the epsilon for which quantiles shall be precomputed; set this value <=0.0 if nothing
   *                          shall be precomputed.
   * @param generator         a uniform random number generator.
   */
  UnknownDoubleQuantileEstimator(int b, int k, int h, double precomputeEpsilon, RandomEngine generator) {
    this.sampler = new WeightedRandomSampler(1, generator);
    setUp(b, k);
    this.treeHeightStartingSampling = h;
    this.precomputeEpsilon = precomputeEpsilon;
    this.clear();
  }
View Full Code Here

TOP

Related Classes of org.apache.mahout.math.jet.random.sampling.WeightedRandomSampler

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.