Skip to content

Conversation

@wernergithub
Copy link

Hello,

I'm new to github, so I hope I follow the correct channel. Attached a patch that solves a bug in the ElasticNet.py file. In particular, the glmnets returns compressed indices, yet these were not used. Although that doesn't matter when just plotting graphs, it does matter if we try to use the returned models as a predictor. Therefore it is necessary to decompress the coefficients before returning them.

Secondly, the ElasticNet predictor object itself was also blissfully unaware of the indices.

This patch solves these two problems
With kind regards,

Werner,-

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

Successfully merging this pull request may close these issues.

1 participant