Quiz 2
Registry Synced

Frequency Estimation in Streams

73 words
1 min read

Reading compass

Now · Count-Min Sketch vs Count Sketch

Frequency Estimation in Streams

Count-Min Sketch vs Count Sketch

PropertyCount-MinCount
Estimate biasOverestimates (never underestimates)Unbiased
SpaceO(1ϵlog1δ)O(\frac{1}{\epsilon} \log \frac{1}{\delta})O(1ϵ2log1δ)O(\frac{1}{\epsilon^2} \log \frac{1}{\delta})
Update timeO(log1δ)O(\log \frac{1}{\delta})O(log1δ)O(\log \frac{1}{\delta})
Error guarantee$

Count-Min Sketch: Guarantee

For any query ii, with probability 1δ1 - \delta:
f^ifi+ϵf1\hat{f}_i \leq f_i + \epsilon ||f||_1
Where f1||f||_1 is the sum of all frequencies, ϵ\epsilon is error parameter, δ\delta is failure probability. Join Discord PreviousMatrix SketchingNextStreaming Algorithms
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.