Problem: log loss may become infinite, if g[idx] goes zero (#938)
* Problem: log loss may become infinite, if g[idx] goes zero Solution: limit the input of the log function to 1e-6 (or more) * Parameterize the safe_log epsilon limit, and make the default value 1e-10
Showing
Please
register
or
sign in
to comment