Question: Create a MapReduce program in Python. Using the u . data file that we used in the class demos, the MapReduce program should provide a
Create a MapReduce program in Python. Using the udata file that we used in the class demos, the MapReduce program should provide a list of all MovieIDs that have been rated and the average rating of each movie. The output should have one row for each movie id along with the average rating for the movie. Please submit the Jupyter Notebook file as demonstrated in class.
Hints:
The Python "Average" function is the mean function in the statistics package.
When you split a line, values are returned as strings, so if you want to treat them as numbers, you will have to do some data type casting.
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
