10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why the raise ValueError happen when (y_true < 0) or (y_pred < 0), while log1p is used which can handle negative numbers greater than -1?
Originally posted by @m-zakeri in #9963 (comment)
The text was updated successfully, but these errors were encountered:
I think the reason we use log(1 + y) instead of log(y) is because we still want to allow y to be 0. But we still don't want y < 0.
Since this is a question and since I think it's now answered, I'll close the issue.
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Why the raise ValueError happen when (y_true < 0) or (y_pred < 0), while log1p is used which can handle negative numbers greater than -1?
Originally posted by @m-zakeri in #9963 (comment)
The text was updated successfully, but these errors were encountered: