scipy.sparse
scipy.sparse.dia_matrix.log1p
scipy.sparse.dia_matrix.mean
dia_matrix.
maximum
Element-wise maximum between this and another matrix.