encyclopegia.org

Lossy Count Algorithm

The lossy count algorithm is an algorithm to identify elements in a data stream whose frequency exceeds a user-given threshold. The algorithm works by dividing the data stream into buckets for frequent items, but fill as many buckets as possible in main memory one time. The frequency computed by this algorithm is not always accurate, but has an error threshold that can be specified by the user. The run time and space required by the algorithm is inversely proportional to the specified error threshold; hence the larger the error, the smaller the footprint. The algorithm was created by computer scientists Rajeev Motwani and Gurmeet Singh Manku. It finds applications in computations where data takes the form of a continuous data stream instead of a finite data set, such as network traffic measurements, web server logs, and clickstreams.

The lossy count algorithm is an algorithm to identify elements in a data stream whose frequency exceeds a user-given threshold. The algorithm works by dividing the data stream into buckets for frequent items, but fill as many buckets as possible in main memory one time. The frequency computed by this algorithm is not always accurate, but has an error threshold that can be specified by the user. The run time and space required by the algorithm is inversely proportional to the specified error threshold; hence the larger the error, the smaller the footprint. The algorithm was created by computer scientists Rajeev Motwani and Gurmeet Singh Manku. It finds applications in computations where data takes the form of a continuous data stream instead of a finite data set, such as network traffic measurements, web server logs, and clickstreams. Step 1: Divide the incoming data stream into buckets of width w = 1/\epsilon , where \epsilon is mentioned by user as the error bound (along with minimum support threshold = \sigma ). Step 2: Increment the frequency count of each item according to the new bucket values. After each bucket, decrement all counters by 1. Step 3: Repeat – Update counters and after each bucket, decrement all counters by 1. ==References==

References

  1. Han, Jiawei. (2006). Data mining : concepts and techniques . Kamber, Micheline. (2nd ed.). Amsterdam: Elsevier. ISBN 978-0-08-047558-5 . OCLC 143252170 . Wikipedia revision 1301293900, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1301293900
    Cite this reference

    MLA "Han, Jiawei. (2006). Data mining : concepts and techniques . Kamber, Micheline. (2nd ed.). Amsterdam: Elsevier. ISBN 978-0-08-047558-5 . OCLC 143252170 . Wikipedia revision 1301293900, retrieved 2026-11-18." Han, Jiawei. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.

    Chicago "Han, Jiawei. (2006). Data mining : concepts and techniques . Kamber, Micheline. (2nd ed.). Amsterdam: Elsevier. ISBN 978-0-08-047558-5 . OCLC 143252170 . Wikipedia revision 1301293900, retrieved 2026-11-18." Han, Jiawei. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA Han, Jiawei. (2026). Han, Jiawei. (2006). Data mining : concepts and techniques . Kamber, Micheline. (2nd ed.). Amsterdam: Elsevier. ISBN 978-0-08-047558-5 . OCLC 143252170 . Wikipedia revision 1301293900, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

Cite this article

MLA

"Lossy Count Algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/lossy-count-algorithm. Accessed 24 November 2026.

Chicago

"Lossy Count Algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/lossy-count-algorithm.

APA

encyclopegia.org. (2025). Lossy Count Algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/lossy-count-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Joscelin I, Count of Edessa

stub · references available

lossy compression

stub · references available

Philip Louis, Count Palatine of Neuburg

stub · references available

Eberhard III, Count of Württemberg

stub · references available

Wolfgang, Count Palatine of Zweibrücken

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1301293900 · 0.5 · snapshot enwiki-001301293900

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.