projpred icon indicating copy to clipboard operation
projpred copied to clipboard

init_refmodel example with custom model

Open fkgruber opened this issue 4 years ago • 2 comments

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

fkgruber avatar Apr 27 '21 13:04 fkgruber

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.

AlejandroCatalina avatar Apr 28 '21 07:04 AlejandroCatalina

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.

fweber144 avatar Dec 12 '21 20:12 fweber144