-
|
Here's an example with output: As far as I can tell the formula in my function is the same as what is stated in the docs for |
Beta Was this translation helpful? Give feedback.
Answered by
Borda
Aug 11, 2025
Replies: 1 comment
-
|
adding a few more prints to your function: def tweedie_deviance_score(yhat, y):
print(y/yhat)
print(torch.log(y/yhat))
print(y * torch.log(y/yhat))
return 2 * (y * torch.log(y/yhat) + yhat - y)and seems the problem is with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Borda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
adding a few more prints to your function:
and seems the problem is with
infas you can see: