Jester Online Joke Recommender System. The modified version

Jester Online Joke Recommender System. The modified version of the code is provided in the module  Most of the module will be used as is, but you will add some additional functionality.The data set contains two files. The file ‘modified_jester_data.csv’ contains the ratings on 100 jokes by 1000 users (each row is a user profile). The ratings have been normalized to be between 1 and 21 (a 20-point scale), with 1 being the lowest rating. A zero indicated a missing rating. The file ‘jokes.csv’ contains the joke ids mapped to the actual text of the jokes.Your tasks in this problem are the following (please also see comments for the function stubs in the provided module):Load in the joke ratings data and the joke text data into appropriate data structures.Complete the definition for the function ‘test’. This function iterates over all users and for each perform cross-validation on items (by calling the provided ‘cross_validate_user’ function), and returns the error information necessary to compute Mean Absolute Error (MAE). Use this function to perform 5-fold cross-validation (i.e., 20% test-ratio) comparing MAE results using standard item-based collaborative filtering (based on the rating prediction function ‘standEst’) with results using the SVD-based version of the rating item-based CF (using ‘svdEst’ as the prediction engine). [Note: See comments provided in the module for hints on accomplishing these tasks.]Write a new function ‘print_most_similar_jokes’ which takes the joke ratings data, a query joke id, a parameter k for the number of nearest neighbors, and a similarity metric function, and prints the text of the query joke as well as the texts of the top k most similar jokes based on user ratings. [Note: For hints on how to accomplish this task, please see comments at the end of the provided module as well as comments for the provided stub function.]The file needs to be finished. I partially finished it but I need someone to help me with the rest. It should be fairly simple to do. I need to create 2 functions that are located in the file called test and print similar jokeshere are the other files. jokes.zipitemBasedRec.pyBasically i need to fix that file so it will do the output as noted is some code that may help20141122190716matrix_factorization.ipynbI need this done in a iPython notebook. At the bottom of this matrix factorization code you will see some usfull code of iterating through the users and adding up the error is the files with my chnges parially