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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
power=1
(loss Poisson distribution). What am I missing here?Beta Was this translation helpful? Give feedback.
All reactions