We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In cv_varsel.refmodel(), line
cv_varsel.refmodel()
projpred/R/cv_varsel.R
Line 184 in 0cabd73
cv_search == "kfold"
cv_method == "kfold"
The text was updated successfully, but these errors were encountered:
fix typo (#95)
021c7ef
Just for the sake of completeness (and for testing the fix): This issue was indeed able to raise an error in earlier versions on develop:
library(projpred) library(rstanarm) options(mc.cores = parallel::detectCores(logical = FALSE)) data('df_gaussian', package = 'projpred') mydat <- cbind("y" = df_gaussian$y, as.data.frame(df_gaussian$x)) myfit <- stan_glm(y ~ V1 + V2 + V3 + V4 + V5, family = gaussian(), data = mydat, prior = hs(df = 1, global_scale=0.01), seed = 1140350788) cvs <- cv_varsel( myfit, method = "forward", cv_method = "kfold", validate_search = FALSE, K = 5 )
But this is fixed now by commit 021c7ef.
Sorry, something went wrong.
No branches or pull requests
In
cv_varsel.refmodel()
, lineprojpred/R/cv_varsel.R
Line 184 in 0cabd73
cv_search == "kfold"
. But iscv_search == "kfold"
possible? Should it readcv_method == "kfold"
instead?The text was updated successfully, but these errors were encountered: