In my dataset
ratings.csv
userId, movieid, ratings
1 123 4
1 456 5
1 231 1
movies.csv
movieid, moviename, genre
123 Titanic love|romance
456 Avatar Scifi
231 Diehard Action
Now i have to recommend which i give top rated movies and which genre i used mostly that should be.
so result should be like movie id 456
I am using R Programming.