A Hidden Markov Model for Collaborative Filtering. (matlab)