getting an error while fitting with lazypredict
from lazypredict.Supervised import LazyClassifier
clf = 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’
New contributor
Mohammad Affan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.