Comments (7)
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.
This is the same as issue #441
The keyword changed from sparse
to sparse_output
from lazypredict.
Fixed here: https://github.com/nityansuman/lazypredict-nightly (PYPI: pip install lazypredict-nightly) @LurkSkywalker @tanwarsh @ftuzzolino @JSchoeck
from lazypredict.
Thank you very much!
It works
from lazypredict.
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.
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.
@JSchoeck @LurkSkywalker @tanwarsh until #444 gets approved and merged, the temporary solution is to use scikit-learn<1.4
from lazypredict.
Related Issues (20)
- Support for time series forecasting
- Are predictions same as models? HOT 3
- Cannot run example as shown in the docs HOT 1
- ValueError: too many values to unpack (expected 2) HOT 2
- import error HOT 2
- segmentation fault error
- Add precision to LazyClassifier HOT 1
- Boolean DataFrame incorrect shape
- Verbosity and logging HOT 1
- libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
- Stopping slow algorithms
- TypeError (OneHotEncoder) on importing LazyRegressor from lazypredict.Supervised HOT 2
- scikit-learn version issue HOT 3
- Classification turned into regression HOT 1
- Show to the users Hyperparameter tuning values
- Boston dataset fore regression
- Doesn't work anymore
- OneHotEncoder.__init__() got an unexpected keyword argument 'sparse HOT 1
- Add PerpetualBooster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazypredict.