-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
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
Can't instantiate HalfT prior #1098
Comments
Hi @niwaka-ame Best |
Hi @MartinBubel, thanks very much! I actually tried to give a temporary workaround (following #503) and I sampled from HalfT(1,1). However, half of the samples are exactly 0 - which is different from samples from Scipy's HalfCauchy. The number of zeros doesn't change much if I sample from HalfT(1,3) or others. It might be worth checking when you fix the issue - it could be an issue with my workaround or a bug in the algorithm itself. Code:
comparing with halfcauchy is scipy:
Edit: fixed typo in the halfcauchy code |
Hi @niwaka-ame The fix you are proposing looks good and is also part of some other prior objects. I still have to check the implementation of the prior in general to see why the result using the scipy prior deviates. |
Hi,
If I run this code:
it gives the following error:
My version of GPy is 1.13.2.
I think this error is related to #503 and there might be a simple fix, but i'm not confident enough to give it a reliable fix (for research purpose). Could anyone from inside/outside the team help? Many thanks.
Edit: added version of GPy.
The text was updated successfully, but these errors were encountered: