Question: an e-commerce site store ( user, product, rating) tuples for data analysis e.g tuple is ( user1, product _x, 3), where rating is from 1-10
an e-commerce site store ( user, product, rating) tuples for data analysis e.g tuple is ( "user1", "product _x", 3), where rating is from 1-10 with 10 being the best. A user can rate many products and products can be rated by many users. Write MapReduce pseudo-code to find the range (min and max) of rating received for each product. So each output record contains (, to < max rating>).
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
