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

method enet periodically fails #23

Open
tobigithub opened this issue Dec 28, 2015 · 0 comments
Open

method enet periodically fails #23

tobigithub opened this issue Dec 28, 2015 · 0 comments

Comments

@tobigithub
Copy link
Owner

train(x,y,"enet") :
Error in { : task 1 failed - "arguments imply differing number of rows: 3, 2"

> train(x,y,"enet")
Elasticnet 

10 samples
20 predictors

No pre-processing
Resampling: Bootstrapped (25 reps) 
Summary of sample sizes: 10, 10, 10, 10, 10, 10, ... 
Resampling results across tuning parameters:

  lambda  fraction  RMSE      Rsquared   RMSE SD    Rsquared SD
  0e+00   0.050     11.32400  0.5323731   2.905445  0.3342669  
  0e+00   0.525     14.07560  0.4908514   9.498497  0.3949161  
  0e+00   1.000     18.24437  0.4932672  17.952378  0.3984887  
  1e-04   0.050     10.87032  0.5353168   3.184460  0.3353606  
  1e-04   0.525     12.77484  0.5228639   3.553482  0.4052917  
  1e-04   1.000     10.69082  0.4953061   3.188610  0.3891203  
  1e-01   0.050     10.87552  0.5546255   3.169491  0.3347897  
  1e-01   0.525     12.38126  0.5304466   3.311811  0.3955273  
  1e-01   1.000     10.81320  0.4682376   3.310867  0.3821226  

RMSE was used to select the optimal model using  the smallest value.
The final values used for the model were fraction = 1 and lambda = 1e-04. 
> train(x,y,"enet")
Error in { : 
  task 1 failed - "arguments imply differing number of rows: 3, 2"
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

No branches or pull requests

1 participant