This is the LinUCB algorithm.
paper:
Li, Lihong, et al. "A contextual-bandit approach to personalized news article recommendation." Proceedings of the 19th international conference on World wide web. 2010.
The code is in the folder ./Personalized_News_Recommendation
All the models is in ./Personalized_News_Recommendation/bandits.py
"./output" is the root of the outcome.You can find the experiment code in ./Personalized_News_Recommendation/experiments