-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Implement Symmetric and Asymmetric Multivariate Laplace distributions #389
base: main
Are you sure you want to change the base?
Conversation
c98ff2e
to
b5e1b41
Compare
|
||
|
||
@pytest.mark.xfail(reason="Not sure about equivalence. Test fails") | ||
def test_asymmetric_matches_univariate_logp(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was expecting these to be equivalent. The means and variances match, but not the logp. Either I did something wrong or the equivalence is not real / like this.
from pytensor.tensor.random.utils import normalize_size_param | ||
|
||
|
||
class Kv(BinaryScalarOp): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll move this to PyTensor before merging this PR
b5e1b41
to
e3aab90
Compare
e3aab90
to
e1680f0
Compare
Deprecation failures should be fixed by pymc-devs/pymc#7564 |
TODO: Bump PyMC dependency