Git Product home page Git Product logo

Comments (7)

LurkSkywalker avatar LurkSkywalker commented on September 3, 2024 13

Ok, last comment gave me a hint – you just go to your "site-packages" folder e.g. C:\Users\Me.conda\envs\environment_name\Lib\site-packages\lazypredict , manually open Supervised.py, ctrl+f "sparse" & paste "sparse_output" instead & save it

from lazypredict.

JSchoeck avatar JSchoeck commented on September 3, 2024 7

This is the same as issue #441
The keyword changed from sparse to sparse_output

from lazypredict.

nityansuman avatar nityansuman commented on September 3, 2024 4

Fixed here: https://github.com/nityansuman/lazypredict-nightly (PYPI: pip install lazypredict-nightly) @LurkSkywalker @tanwarsh @ftuzzolino @JSchoeck

from lazypredict.

ftuzzolino avatar ftuzzolino commented on September 3, 2024 2

Thank you very much!
It works

from lazypredict.

LurkSkywalker avatar LurkSkywalker commented on September 3, 2024 1

How do I import LazyClassifier / LazyRegressor without triggering this error?

I know that OHE parameter name was changed from sparse to sparse_output in later versions. But shouldn't this be fixed in LazyRegressor code? I mean it's lazypredict that tries to call parameter by its old name

from lazypredict.

tanwarsh avatar tanwarsh commented on September 3, 2024

Update Supervised.py

facing the same issue while after installing lazypredict==0.2.12 and LazyClassifier from the library.
how to change the parameter from sparse to sparse_output ?

from lazypredict.

arareko avatar arareko commented on September 3, 2024

@JSchoeck @LurkSkywalker @tanwarsh until #444 gets approved and merged, the temporary solution is to use scikit-learn<1.4

from lazypredict.

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.