Ex8: new vectorized recommender systems cost function