-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
When I look at your function at ae.py#L138, and compare it to https://stat.duke.edu/courses/Spring09/sta205/lec/hoef.pdf (in the middle of page 2) it seems like there should be different bracketing :
return p * T.log(p) - T.log(p_hat) + (1 - p) * T.log(1 - p) - (1 - p) * T.log(1 - p_hat)
should be
return p * (T.log(p) - T.log(p_hat)) + (1 - p) * (T.log(1 - p) - T.log(1 - p_hat))
Please be gentle if I've missed something...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels