This is a template solution to Hands-on Assignment: Movie Recommender System using Matrix Factorization. Remember, as we mentioned in the project itself, you should try to bring down the test RMSE to around 0.85-0.90. The code below works, and produces a test RMSE of only about 1.4 which is not good enough. This is the sample output: