The following error appears on "from lazypredict.Supervised import LazyRegressor"
File "", line 1, in
File "C:\Users\ ... \Python312\site-packages\lazypredict\Supervised.py", line 98, in
("encoding", OneHotEncoder(handle_unknown="ignore", sparse=False)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: OneHotEncoder.init() got an unexpected keyword argument 'sparse'
The following error appears on "from lazypredict.Supervised import LazyRegressor"
File "", line 1, in
File "C:\Users\ ... \Python312\site-packages\lazypredict\Supervised.py", line 98, in
("encoding", OneHotEncoder(handle_unknown="ignore", sparse=False)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: OneHotEncoder.init() got an unexpected keyword argument 'sparse'
Python version: 3.12.1 OS: windows 10