“get_int_parms” not available for .Fortran() for package “glmnet”

自闭症网瘾萝莉.ら 提交于 2019-12-13 14:34:34

问题


I am trying to fit a simple lasso model with the latest glmnet package.

I have read in a csv-file and have all my data stored as a "list" or matrix.

I tried to follow this guide for the implementation: https://www.r-bloggers.com/ridge-regression-and-the-lasso/

But when I run:

lasso.mod <- glmnet(b[,2:22], b$power, alpha=1)

I get the following error:

Error in .Fortran("get_int_parms", fdev = double(1), eps = double(1), : "get_int_parms" not available for .Fortran() for package "glmnet"

In my input:

B is just a matrix with 23 columns and around 100000 rows. The first colunmn is what I want to have as my explanatory variable. I googled around a bit but did not find so much on this type of error. Anyone knows what is wrong?


回答1:


Recently got the same error.

I reinstalled the glmnet package and everything worked fine.



来源:https://stackoverflow.com/questions/49381618/get-int-parms-not-available-for-fortran-for-package-glmnet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!