stan-dev / projpred

Projection predictive variable selection
https://mc-stan.org/projpred/
Other
110 stars 25 forks source link

Add helper `run_cvfun()` #458

Closed fweber144 closed 1 year ago

fweber144 commented 1 year ago

This adds the helper function run_cvfun() which can be used to create input for cv_varsel.refmodel()'s new argument cvfits (which is the same as init_refmodel()'s argument cvfits, but avoids having to call init_refmodel() or get_refmodel() twice). See the documentation of run_cvfun() for details.