stan-dev / projpred

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

Default search method `"forward"` #453

Closed fweber144 closed 10 months ago

fweber144 commented 10 months ago

With this PR, the default search method is now "forward" search for all kinds of models (previously, "L1" search was used by default if available).

The reason for this change is that in general, forward search is more favorable compared to L1 search (see section "Details" in ?varsel or ?cv_varsel).

If forward search takes too long (currently: longer than 3 minutes), a message is thrown, mentioning the runtime estimate. This is done by measuring the runtime for the intercept-only projection (in search_forward()) and then scaling this up to obtain an estimate of the runtime for the remaining search.