Giter VIP home page Giter VIP logo

Comments (10)

tpapp avatar tpapp commented on May 24, 2024

I will add one (perhaps in the examples on how to use CustomTransform). But I am curious what you need it for, since in practice its Cholesky factor is much more useful for inference.

from transformvariables.jl.

simonbyrne avatar simonbyrne commented on May 24, 2024

I have a model where the prior is inverse Wishart.

from transformvariables.jl.

tpapp avatar tpapp commented on May 24, 2024

I added it as a test/example.

I will think about adding it as a regular transform, but I don't think Wishart is a good prior, so I would rather encourage using half-Cauchy for standard deviations and LKJ for the correlation matrix (apologies if you know about this and decided you still need Wishart).

from transformvariables.jl.

simonbyrne avatar simonbyrne commented on May 24, 2024

I agree, but i'm replicating someone else's results.

from transformvariables.jl.

simonbyrne avatar simonbyrne commented on May 24, 2024

and thanks for the example!

from transformvariables.jl.

tpapp avatar tpapp commented on May 24, 2024

@simonbyrne: just to let you know, I am merging an API change now. I have updated the example in the tests.

If you are using this library in production, you may want to pin to df4234b, or update your code.

As the library is currently in development and I am experimenting, there will be no deprecations or releases until it stabilizes. So you may want to use Github's watch functionality for notifications.

from transformvariables.jl.

simonbyrne avatar simonbyrne commented on May 24, 2024

from transformvariables.jl.

aterenin avatar aterenin commented on May 24, 2024

+1 to please add this. I don't think preference against the Inverse Wishart prior is a strong reason not to include this transform - appropriateness of the Wishart/IW prior depends on the user's likelihood. I'm using a Wishart it for estimating a symmetric positive definite matrix that isn't a covariance (i.e. my likelihood is not multivariate Gaussian with unknown Sigma or anything remotely near), where LKJ is not necessarily appropriate, and Wishart with identity hyperparameter is a natural choice due to its group invariance properties.

from transformvariables.jl.

tpapp avatar tpapp commented on May 24, 2024

So would you need a transformation from an n⋅(n+1)/2 vector of reals to an n × n positive definite matrix?

from transformvariables.jl.

aterenin avatar aterenin commented on May 24, 2024

Yes - just as in Stan - this would be fantastic!

from transformvariables.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.