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

OLS.fit_regularized(L1_wt=0) returns params as numpy array instead of pandas Series #4724

Open
kdebrab opened this issue Jun 7, 2018 · 1 comment

Comments

@kdebrab
Copy link

kdebrab commented Jun 7, 2018

A pandas Series is returned as soon as L1_wt is different from 0.

@kshedden
Copy link
Contributor

kshedden commented Jun 7, 2018

L1_wt=0 uses a different code path for efficiency (it is just ridge regression). We should fix this inconsistency in return types. A PR would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants