9/24/2020
Sublinear Algorithms
LECTURE 7
Last time
- Communication complexity
- Other models of computation
Today
- Streaming
Sofya Raskhodnikova;Boston University
L ECTURE 7 Last time Communication complexity Other models of - - PowerPoint PPT Presentation
Sublinear Algorithms L ECTURE 7 Last time Communication complexity Other models of computation Today Streaming 9/24/2020 Sofya Raskhodnikova;Boston University Data Stream Model [Alon Matias Szegedy 96] B L A - B L A - B L A - B L
9/24/2020
Sofya Raskhodnikova;Boston University
2
B L A - B L A - B L A - B L A - B L A - B L A - B L A -
Based on Andrew McGregorβs slides: http://www.cs.umass.edu/~mcgregor/slides/10-jhu1.pdf
3
4
5
6
7
8
π = π β(ππ) β€ π’β π π 1+π
π
π
1 = π β
π=1 π
π = ΰ· π=1 π
π
π=1 π
π 2 = ΰ· π=1 π
π = E π
9
π = π β(ππ) β€ π’β π π 1+π
π
π
2 β€
1 6
10
βββ β π¦1 = π§1, β¦ , β π¦π = π§π = 1
1. β(π¦1) is uniform over π 2. β π¦1 , β¦ , β(π¦π) are mutually independent.
11
Based on Sepehr Assadiβs lecture notes for CS 514 (Lecture 7, 03/20/20) at Rutgers
βββ β π¦1 = π§1, β¦ , β π¦π = π§π = 1
12
Based on Sepehr Assadiβs lecture notes for CS 514 (Lecture 7, 03/20/20) at Rutgers
13
1, β¦ , π π),
π is the number of times π appears in the stream
π =
π π = Οπ=1 π
π π
1 = π (# of elements in the stream)
2 2 is a measure of non-uniformity
β = max π
π is the most frequent element
π up to a multiplicative factor (1 + π) with probability β₯ 2/3
14
0)
20