Class TopKEstimator


  • public class TopKEstimator
    extends Object
    Use StudentT distribution and estimate how many hits you need from each partition to to get the globally top-k documents with the desired probability
    Author:
    baldersheim
    • Constructor Detail

      • TopKEstimator

        public TopKEstimator​(double freedom,
                             double defaultProbability,
                             double skewFactor)
    • Method Detail

      • estimateK

        public int estimateK​(int k,
                             int n)
      • estimateK

        public int estimateK​(int k,
                             int n,
                             double p)