Arviz: Add transform argument

Created on 21 Jan 2020  路  8Comments  路  Source: arviz-devs/arviz

A transform argument will allow users to pass a function that will be applied to one or more variables. This is related to pymc-devs/pymc3#3420 and pymc-devs/pymc3#3626

PyMC3 Parity Beginner

Most helpful comment

I would like to work on this issue

All 8 comments

I would like to work on this issue

@aloctavodia Could you please give me a brief description of what "transformation of an MCMC sample" means?

@aloctavodia I would also be grateful if you could link me to some resources that may give me an idea of what the transform function should do.

Like np.log or np.exp done for the samples. So basically any transformation which might eat one more "variables" and outputs a new variable / variables.

@amukh18 check this from an early version of arviz

@ahartikainen I understand. Thank you!

@aloctavodia So for the new argument would I need to create something like a new identity_transform function?

I think it could be None by default (==identity_transform) and not do any transformations.

Was this page helpful?
0 / 5 - 0 ratings