bbalasub1 / glmnet_python

GNU General Public License v3.0
199 stars 94 forks source link

syntax error in glmnet function #42

Closed nehamurad closed 4 years ago

nehamurad commented 4 years ago
import glmnet_python
from glmnet import glmnet

Gives the following error:

File "//anaconda2/lib/python2.7/site-packages/glmnet_python/glmnet.py", line 246 def glmnet(*, x, y, family='gaussian', **options): ^ SyntaxError: invalid syntax

bbalasub1 commented 4 years ago

Sorry -- difficult to troubleshoot without further info.

nehamurad commented 4 years ago

Hi if you pip install the latest glmnet there is a bug in it.

bbalasub1 commented 4 years ago

OS?

On Wed, Sep 18, 2019 at 6:20 PM nehamurad notifications@github.com wrote:

Hi if you pip install the latest glmnet there is a bug in it.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bbalasub1/glmnet_python/issues/42?email_source=notifications&email_token=ACVEGE3UWYT3ATFLWYCXZNLQKKSUBA5CNFSM4IYDRCG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7BT5KI#issuecomment-532889257, or mute the thread https://github.com/notifications/unsubscribe-auth/ACVEGE277GBY5MVYIQLRAVLQKKSUBANCNFSM4IYDRCGQ .

nehamurad commented 4 years ago

macOS Mojave 10.14.6