scipy.sparse
dia_matrix.
log1p
Element-wise log1p.
See numpy.log1p for more information.
numpy.log1p
scipy.sparse.dia_matrix.getrow
scipy.sparse.dia_matrix.maximum