scipy.sparse.dok_matrix.mean
scipy.sparse.dok_matrix.multiply
Element-wise minimum between this and another matrix.