Transcript
DataStreamingAlgorithms
BarnaSaha
DevelopingStreamingAlgorithms• Themainhurdleisthespace.
• Oftenitismuchmoreefficienttogetanapproximateanswerthananexactanswer.
• Oftenthealgorithmusesrandomizationlikehashingandsampling.
MiniExercise[DueOct31st]
• ImplementCountMinSketchandplotthefrequencyofallelementsasreportedbytheCountMinsketchdatastructureaswellastheirtruefrequenciesusingε=0.01andnumberofhashfunctions=25.– Data:considerastreamofsize1000000whereeachelementinthestreamarrivesfrom[1,1000]chosenuniformlyatrandom.