Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
lambda.1se performs better. (I don’t know why this isn’t the default instead of lambda.min in Python. Manually writing the cross-validation to get lambda.1se is a pain.) I split the data into training and testing sets to illustrate performance on held-out data, but in practice you should not do