1. Homepage
  2. Exam
  3. COMPSCI 753 Algorithms for Massive Data - Semester2 2021- Final Exam - Q2 Data Stream Algorithms

COMPSCI 753 Algorithms for Massive Data - Semester2 2021- Final Exam - Q2 Data Stream Algorithms

This question has been solved
Engage in a Conversation

2 Data Stream Algorithms CourseNana.COM

2.1 Misra-Gries Algorithm [1 mark] CourseNana.COM

Given the data stream below, perform the Misra-Gries algorithm with k = 3 counters and present the summary, including the elements and its counter values, when the execution of the algorithm is finished. CourseNana.COM

S = {4,36,14,36,57,36,22,57,5,57}

CourseNana.COM

2.2 CountMin Sketch Algorithm [4 marks] CourseNana.COM

Given the following three hash functions, perform the CountMin Sketch al- gorithm on the same data stream S in Section 2.1 and present the (i) hash table, (ii) counter matrix, and (iii) estimated frequency of each element in a stream after processing all elements. CourseNana.COM

h1(x) = x mod 3 CourseNana.COM

h2(x)=(3x+1) mod3 CourseNana.COM

h3(x)=(5x+2) mod3 CourseNana.COM

2.3 Count Sketch Algorithm [4 marks] CourseNana.COM

Consider the same data stream S and hash functions in Section 2.2. Given the sign hash functions below, perform the Count Sketch algorithm and present the (i) hash table, (ii) counter matrix, and (iii) estimated frequency of each element in a stream after processing all elements. CourseNana.COM

s1(x)=((2x+1) mod3) mod2 CourseNana.COM

s2(x)=((3x+2) mod3) mod2 CourseNana.COM

s3(x)=((5x+2) mod3) mod2 CourseNana.COM

CourseNana.COM

Get the Solution to This Question

WeChat WeChat
Whatsapp WhatsApp
COMPSCI 753代写,Algorithms for Massive Data代写,Auckland代写,澳洲代写,Data Stream Algorithms代写,Misra-Gries代写,COMPSCI 753代编,Algorithms for Massive Data代编,Auckland代编,澳洲代编,Data Stream Algorithms代编,Misra-Gries代编,COMPSCI 753代考,Algorithms for Massive Data代考,Auckland代考,澳洲代考,Data Stream Algorithms代考,Misra-Gries代考,COMPSCI 753help,Algorithms for Massive Datahelp,Aucklandhelp,澳洲help,Data Stream Algorithmshelp,Misra-Grieshelp,COMPSCI 753作业代写,Algorithms for Massive Data作业代写,Auckland作业代写,澳洲作业代写,Data Stream Algorithms作业代写,Misra-Gries作业代写,COMPSCI 753编程代写,Algorithms for Massive Data编程代写,Auckland编程代写,澳洲编程代写,Data Stream Algorithms编程代写,Misra-Gries编程代写,COMPSCI 753programming help,Algorithms for Massive Dataprogramming help,Aucklandprogramming help,澳洲programming help,Data Stream Algorithmsprogramming help,Misra-Griesprogramming help,COMPSCI 753assignment help,Algorithms for Massive Dataassignment help,Aucklandassignment help,澳洲assignment help,Data Stream Algorithmsassignment help,Misra-Griesassignment help,COMPSCI 753solution,Algorithms for Massive Datasolution,Aucklandsolution,澳洲solution,Data Stream Algorithmssolution,Misra-Griessolution,