scipy.sparse.dok_matrix.mean
scipy.sparse.dok_matrix.nonzero
Point-wise multiplication by another matrix