Code Monkey home page Code Monkey logo

Comments (2)

mblondel avatar mblondel commented on July 21, 2024

Fixed, thanks for the bug report.

Please give me some feed back about the warm_start option. I haven't tested it much.

from lightning.

pprett avatar pprett commented on July 21, 2024

Hi Mathieu,

thanks for fixing so fast - I just wanted to work on it at the airport.
I looked into lightning because I found the LASSO in scikit-learn quite
slow (esp. compared to liblinear with l1 penalty).
Lightning's CDRegressor is (at least) an order of magnitude faster than
sklearn's LASSO on my benchmarks (~15K n_samples and 5K n_features - sparse

  • density ~ 20%).

One thing I noticed: in sklearn, warm_start=True gives hardly a performance
increase for subsequent alpha's (computing largest to smallest). For
lightning the saving is considerable (for a 25 point path ~ 70% is spent on
the first and 30% on the other 24).

Great work on that! I really need to read-up on coordinate descent
algorithms - I don't trust sklearn's SGDRegressor too much ;)

best,
Peter

2014-04-04 10:15 GMT-04:00 Mathieu Blondel [email protected]:

Fixed, thanks for the bug report.

Please give me some feed back about the warm_start option. I haven't
tested it much.

Reply to this email directly or view it on GitHubhttps://github.com/mblondel/lightning/issues/9#issuecomment-39569165
.

Peter Prettenhofer

from lightning.

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.