-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Error when getting reference model with k-fold cross validation for cv_varsel #1572
Comments
I am not sure if this is rather a brms or projpred issue (https://github.com/stan-dev/projpred). Can you try if things are working with the latest brms and projpred versions from their respective github repos? |
I installed the github version of brms (2.20.6) but struggling to install the projpred github version due to issues with installing gfortran without admin rights on my computer. With brms updated but not projpred, I still run into the same issue. Should I post this issue on the github page of projpred? |
yes please also post it on the projpred page. as soon as we know where the
problem lies we can close the other issue then.
Andreas Dietzel ***@***.***> schrieb am Di., 12. Dez. 2023,
16:23:
… I installed the github version of brms (2.20.6) but struggling to install
the projpred github version due to issues with installing gfortran without
admin rights on my computer. With brms updated but not projpred, I still
run into the same issue. Should I post this issue on the github page of
projpred?
Thanks
—
Reply to this email directly, view it on GitHub
<#1572 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCW2AEGOWBREP7B6RQLDFDYJBSGJAVCNFSM6AAAAABARESXRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGEZTKMZRGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@paul-buerkner: You may close this issue here because it had already been fixed in projpred's GitHub version (commit stan-dev/projpred@b5bdc31). |
Perfect. Thank you! |
I am revisiting a snippet of code in my analysis that used to work with previous versions of brms and projpred (Projpred Issue #328, and on a different machine after making switch from Windows to Mac.
My work flow with reprex below is:
The syntax used here for specifying a custom k-fold cv ref model is also shown in #1286
When running cv_varsel() I get the following error message:
"in family$linkinv(pred_sub) :
Argument eta must be a nonempty numeric vector
In addition: Warning message:
In parse_args_cv_varsel(refmodel = refmodel, cv_method = cv_method, :
The content of
cvfits
's sub-list calledfits
should be moved one level up (and elementfits
removed). The old structure will continue to work for a while, but is deprecated."I would appreciate any help with understanding the main error message and also with how to set the ref model correctly now.
Thanks for your help!
Andreas
The text was updated successfully, but these errors were encountered: