init_refmodel example with custom model
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 114
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the current init_refmodel reference documentation and compare it with the older example linked in the issue. Document the supported object types and add a working example using a custom model that generates the required samples; done when the example works and the documentation is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100