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

glmnet() wants a 2 column matrix #20

Open
stedy opened this issue Nov 25, 2013 · 0 comments
Open

glmnet() wants a 2 column matrix #20

stedy opened this issue Nov 25, 2013 · 0 comments

Comments

@stedy
Copy link

stedy commented Nov 25, 2013

In code snippet #20 in chapter06.R, glmnet() wants a matrix with 2 or more columns but throws an error since the matrix itself is only one column. Thought about wrangling it into a two column matrix but that might not be inline with the original intent of that snippet.

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