Redundant lines in lazypredict.ipynb giving error
Deepankar-98 opened this issue · 0 comments
Deepankar-98 commented
Hi @dataprofessor,
I implemented the code given in lazypredict.ipynb and found 2 redundant lines giving several errors.
Also, others have raised this issue so it's not something only on my end.
ISSUE Link: shankarpandala/lazypredict#344
In cell 3 of lazypredict.ipynb this redundant lines is giving error:
models_train,predictions_train = clf.fit(X_train, X_train, y_train, y_train)
models_test,predictions_test = clf.fit(X_train, X_test, y_train, y_test)
and the above 2 lines shd be replaced by:
models_train, predictions_train = clf.fit(X_train, X_test, y_train, y_test)
Similarly for cell 7 the below 2 lines:
models_train,predictions_train = reg.fit(X_train, X_train, y_train, y_train)
models_test,predictions_test = reg.fit(X_train, X_test, y_train, y_test)
shd be replaced by
models_train, predictions_train = reg.fit(X_train, X_test, y_train, y_test)
Can I raise a PR and solve the above mentioned issue.
Thanks,
Deepankar