English

Cardinality Estimation Meets Good-Turing

Data Structures and Algorithms 2015-08-26 v1

Abstract

Cardinality estimation algorithms receive a stream of elements whose order might be arbitrary, with possible repetitions, and return the number of distinct elements. Such algorithms usually seek to minimize the required storage and processing at the price of inaccuracy in their output. Real-world applications of these algorithms are required to process large volumes of monitored data, making it impractical to collect and analyze the entire input stream. In such cases, it is common practice to sample and process only a small part of the stream elements. This paper presents and analyzes a generic algorithm for combining every cardinality estimation algorithm with a sampling process. We show that the proposed sampling algorithm does not affect the estimator's asymptotic unbiasedness, and we analyze the sampling effect on the estimator's variance.

Keywords

Cite

@article{arxiv.1508.06216,
  title  = {Cardinality Estimation Meets Good-Turing},
  author = {Reuven Cohen and Liran Katzir and Aviv Yehezkel},
  journal= {arXiv preprint arXiv:1508.06216},
  year   = {2015}
}

Comments

17 pages, 1 figure

R2 v1 2026-06-22T10:41:15.769Z