init_refmodel example with custom model
Hi An older version of projpred had a nice example showing how to use init_refmodel with a custom model: https://mc-stan.org/projpred/reference/init_refmodel.html
This example no longer work and there is no alternative example on the documentation of init_refmodel. In fact, the current documentation of init_refmodel seems incomplete. For instance, it says
object: Object on which the reference model is created. See possible types below.
but no types are defined anywhere else.
Would love you see a working example how would you use init_refmodel with your own custom model where you can generate the required samples.
thanks FKG
Hi,
We took that example down because the interface had changed significantly. We haven't had enough time yet to push a new version. I will try to do that ASAP, thank you for your interest!
What kind of model are you interested in running? I can maybe give you enough information here to build the custom refmodel.
Fixed in develop, so a corresponding label may be added here. However, the fix only consists of a quick example which was added. A vignette for custom reference models would be more desirable, but is still to do.