stan-dev / stan-dev/rstanarm

C++ for posterior_predict

Open
#117 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Summary:

posterior_predict can likely be sped up by using C++ functions in place of apply functions

Description:

Maybe using expose_stan_functions on functions defined in the model could simplify speeding up posterior_predict

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start by locating the posterior_predict implementation and its apply-based functions, then investigate whether expose_stan_functions can be used with functions defined in the model. Done means establishing a concrete C++ approach and demonstrating that posterior_predict is faster.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, r
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.