Data Streaming Algorithms - University of Massachusetts ... › cs590d › lectures › ... ·...

Preview:

Citation preview

DataStreamingAlgorithms

BarnaSaha

DevelopingStreamingAlgorithms• Themainhurdleisthespace.

• Oftenitismuchmoreefficienttogetanapproximateanswerthananexactanswer.

• Oftenthealgorithmusesrandomizationlikehashingandsampling.

MiniExercise[DueOct31st]

• ImplementCountMinSketchandplotthefrequencyofallelementsasreportedbytheCountMinsketchdatastructureaswellastheirtruefrequenciesusingε=0.01andnumberofhashfunctions=25.– Data:considerastreamofsize1000000whereeachelementinthestreamarrivesfrom[1,1000]chosenuniformlyatrandom.

Recommended