Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 182069

Methods and principles of selecting a subset of attributes for use in further modelling

1 vote
1 answer
465 views

Getting glmnet to select excatly given number of features?

I am using glmnet for feature selection, given a gaussian dependent variable. Part of my code is like this: lambda_seq <- 10^seq(2, -2, by = -0.1) cv_output <- cv.glmnet(data.matrix(x_vars), y_var, al …
user7831861's user avatar