Imported from https://github.com/XueyingBai/Model-Based-Reinforcement-Learning-for-Online-Recommendation