Scalable tensor factorization