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

Warn if L1 search selects an interaction before main effects #395

Merged
merged 5 commits into from Mar 7, 2023

Conversation

fweber144
Copy link
Collaborator

This addresses #190 further (in addition to commit fweber144@abe2f48 from PR #233 which only addressed the documentation) in that we now throw a warning if an interaction term is selected before all involved main effects have been selected.

terms being selected before all involved main effects have been selected.

Use this possibility in the tests.

Currently, such a warning is not thrown during the tests, but it might be in the
future.
selected before all involved main effects have been selected.
Need to set `options(projpred.warn_L1_interactions = TRUE)`.
@fweber144 fweber144 merged commit 572d6eb into stan-dev:master Mar 7, 2023
@fweber144 fweber144 deleted the warn_L1_interactions branch March 7, 2023 07:57
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