Closed seanv507 closed 6 years ago
Thanks for the report! Could you provide a minimum working (broken) example? I'm unable to reproduce. The following code works as expected for me:
Python 3.6.3 | packaged by conda-forge | (default, Dec 9 2017, 16:20:51)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from sklearn.datasets import make_classification
In [2]: from glmnet import LogitNet
In [3]: X, y = make_classification(random_state=42)
In [4]: m = LogitNet()
In [5]: %time m = m.fit(X, y)
CPU times: user 85.1 ms, sys: 3.15 ms, total: 88.3 ms
Wall time: 118 ms
In [6]: import glmnet, sklearn
In [7]: print(glmnet.__version__, sklearn.__version__)
2.0.0 0.19.0
Which version of glmnet do you have installed? Try
import glmnet
print(glmnet.__version__)
I created a conda environment with python 3.6.3 and then pip installed glmnet (version 2.0.0), but I was unable to reproduce your error.
Hi I'm sorry I can't reproduce it myself. ( my kernel died) and using stephens test now works as expected
Thank you for the bug report. Please re-open this ticket if the problem re-occurs!
the fit command gives me an error
I have 'fixed' it by changing code to LogitNet.CV .... I am not clear on why this should be required.
I am using Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:02:49)