The Adaptive Sampling Revisited
Abstract
The problem of estimating the number of distinct keys of a large collection of data is well known in computer science. A classical algorithm is the adaptive sampling (AS). can be estimated by , where is the final bucket (cache) size and is the final depth at the end of the process. Several new interesting questions can be asked about AS (some of them were suggested by P.Flajolet and popularized by J.Lumbroso). The distribution of is known, we rederive this distribution in a simpler way. We provide new results on the moments of and . We also analyze the final cache size distribution. We consider colored keys: assume that among the distinct keys, do have color . We show how to estimate . We also study colored keys with some multiplicity given by some distribution function. We want to estimate mean an variance of this distribution. Finally, we consider the case where neither colors nor multiplicities are known. There we want to estimate the related parameters. An appendix is devoted to the case where the hashing function provides bits with probability different from .
Cite
@article{arxiv.1805.08043,
title = {The Adaptive Sampling Revisited},
author = {Matthew Drescher and Guy Louchard and Yvik Swan},
journal= {arXiv preprint arXiv:1805.08043},
year = {2019}
}