Collaborative filtering for recommender system