Skip to content

ENH: JAX OP MatrixIsPositiveDefinite #6849

Closed
@juanitorduz

Description

@juanitorduz

Hi! I tried to replicate the Correlated priors with LKJCorr from https://tomicapretto.github.io/posts/2022-06-12_lkj-prior/#model-4-correlated-priors-with-lkjcorr.-replicate-rstanarm-prior using the numpyro sampler and got the error:

Before

`NotImplementedError: No JAX conversion for the given `Op`: MatrixIsPositiveDefinite`. 

So it would be great to add this operator.

Is this something a newbie like me could try?

After

We should be able to run the model above wit the JAX sampler from `numpyro`.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions