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

Fix pareto warnings #498

Merged
merged 24 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ Additional_repositories:
https://mc-stan.org/r-packages/
LazyData: TRUE
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
VignetteBuilder: knitr, rmarkdown
203 changes: 106 additions & 97 deletions R/cv_varsel.R

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions R/varsel.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' known as solution path), i.e., the best submodel for each submodel size
#' (number of predictor terms). The evaluation part determines the predictive
#' performance of the submodels along the predictor ranking. A special method is
#' [varsel.vsel()] because it re-uses the search results from an earlier
#' [varsel.vsel()] which re-uses the search results from an earlier
#' [varsel()] (or [cv_varsel()]) run, as illustrated in the main vignette.
#'
#' @param object An object of class `refmodel` (returned by [get_refmodel()] or
Expand Down Expand Up @@ -141,8 +141,9 @@
#'
#' L1 search is faster than forward search, but forward search may be more
#' accurate. Furthermore, forward search may find a sparser model with
#' comparable performance to that found by L1 search, but it may also start
#' overfitting when more predictors are added.
#' comparable performance to that found by L1 search, but it may also
#' overfit when more predictors are added. This overfit can be detected
#' by running search validation (see [cv_varsel()]).
#'
#' An L1 search may select an interaction term before all involved lower-order
#' interaction terms (including main-effect terms) have been selected. In
Expand Down
87 changes: 54 additions & 33 deletions man/cv_varsel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/run_cvfun.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions man/varsel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.