Giter VIP home page Giter VIP logo

Comments (4)

stephen-hoover avatar stephen-hoover commented on May 27, 2024

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

from python-glmnet.

kcrum avatar kcrum commented on May 27, 2024

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.

from python-glmnet.

seanv507 avatar seanv507 commented on May 27, 2024

Hi
I'm sorry I can't reproduce it myself. ( my kernel died) and using stephens test now works as expected

from python-glmnet.

stephen-hoover avatar stephen-hoover commented on May 27, 2024

Thank you for the bug report. Please re-open this ticket if the problem re-occurs!

from python-glmnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.