Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. The Adaptive samplin ...
Article

The Adaptive sampling revisited

Matthew Drescher, Guy Louchard (1), Yvik Swan (2)
(1) Département d'Informatique [Bruxelles]
(2) Mathematics Department
Download article
Open on HAL
Submitted on
January 18, 2017
Accepted on
April 18, 2019
Published on
June 25, 2019
Last modified on
March 31, 2025
Volume 21
vol. 21:3
Analysis of Algorithms
DOI
10.23638/DMTCS-21-3-13
License
https://about.hal.science/hal-authorisation-v1
European Commission
615640
Frontiers of Extended Formulations
Indicators
1264
Views
852
Downloads

The Adaptive sampling revisited

Matthew Drescher, Guy Louchard (1), Yvik Swan (2)
(1) Département d'Informatique [Bruxelles]
(2) Mathematics Department
Abstract
The problem of estimating the number n of distinct keys of a large collection of N data is well known in computer science. A classical algorithm is the adaptive sampling (AS). n can be estimated by R2 J , where R is the final bucket size and J 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 W = log(R2 J /n) is known, we rederive this distribution in a simpler way. We provide new results on the moments of J and W. We also analyze the final cache size R distribution. We consider colored keys: assume also that among the n distinct keys, m do have color K We show how to estimate p = m n. We study keys with some multiplicity : we provide a way to estimate the total number M of some color K keys among the total number N of keys. We consider the case where we know a priori the multiplicities but not the colors. There we want to estimate the total number of keys N. An appendix is devoted to the case where the hashing function provides bits with probability different from 1/2.
Keywords
  • 2010 Mathematics Subject Classification: 68R05, 68W40
  • [INFO]Computer Science [cs]
  • Adaptive sampling
  • asymmetric adaptive sampling
  • moments
  • periodic components
  • hashing functions
  • cache
  • colored keys
  • key multiplicity
  • Stein method
  • urn model
Preview
Loading PDF preview...