Dear all,
              I want to train my model with LASSO using caret package
(glmnet). So, in glmnet, there are two parameters, alpha and lambda. How can
I fix my alpha=1 to get a lasso model?



con<-trainControl(method="cv",number=10)

model <- train(X, y, "glmnet", metric="RMSE",tuneLength = 10, trControl =
con)



Thanks

Alex Roy

	[[alternative HTML version deleted]]

