23. [Activity] Find the Most Popular Movie
MOST POPULAR MOVIE
MovieLens Data Format Review
User ID, Movie ID, Rating, Timestamp
196, 242, 3, 881250949
186, 302, 3, 891717742
22 , 377, 1, 878887116
244, 51, 2, 880606923
166, 346, 1, 886397596
290, 474, 4, 884182806
Off To The Code
Import PopularMovies.scala from resource folder into Eclipse-Scala IDE in SparkScala folder
Import u.data from the resource folder into SparkScala folder to be used as the source file for PopularMovies.scala
Run it and you should see the output
Previous22. Check Your Results and Implementation Against MineNext24. [Activity] Use Broadcast Variables to Display Movie Names
Last updated