1
8.5kviews
Show Map Reduce implementation for the following two tasks using pseudocode. i) Multiplication of two matrices ii) Computing Group-by and aggregation of a relational table
2 Answers
written 5.1 years ago by | • modified 5.1 years ago |
Let A and B be the two metrics to be multiplied and result be matrix C.
Matrix A has dimension L, M and matrix . has dimension M, N
- Map phase.
For each element (i, j) of A, emit ( ( i, k), A [i, j] ) for K …