Experiments codes for WWW 2018 Poster paper "An Improved Sampler for Bayesian Personalized Ranking by Leveraging View Data "