If you use this code please cite our paper:
P. Kouki, J. Schaffer, J.Pujara, J. O'Donovan, L. Getoor, Personalized Explanations for Hybrid Recommender Systems, IUI 2019
In order to run the code for the offline evaluation you first need to download the data that are available here: https://linqs-data.soe.ucsc.edu/public/kouki-iui19/
The code to run the user study is in the file LastFMFinalDebug.groovy The code to run the offline evaluation is in the files PreprocessOfflineEvaluation5Folds.groovy and LastFMEvaluate5Folds.groovy