Edited matrix factorization