Python implementation of "Content-based recommendations with poisson factorization", with some extensions