stan-dev / stan-dev/projpred

init_refmodel example with custom model

Open
#125 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.