Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

OneHotEncoder.__init__() got an unexpected keyword argument 'sparse'

$
0
0

getting an error while fitting with lazypredict

from lazypredict.Supervised import LazyClassifierclf = LazyClassifier(verbose=0,ignore_warnings=True, custom_metric=None)models, predictions = clf.fit(x_train, x_test, y_train, y_test)

TypeError: OneHotEncoder.init() got an unexpected keyword argument 'sparse'


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>