Dynamic Collaborative Filtering for Matrix- and Tensor-based Recommender Systems