Matrix Factorization via Deep Learning