Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default search method "forward" #453

Merged
merged 11 commits into from Sep 19, 2023
Merged

Conversation

fweber144
Copy link
Collaborator

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.

@fweber144 fweber144 merged commit 517fe5e into stan-dev:master Sep 19, 2023
@fweber144 fweber144 deleted the meth_def_fw branch September 19, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant