Machine Learning, Regression, Classification, Scikit Learn, Artificial Intelligence.
forgiving of outliers. Let’s run logistic regression, first without the outliers. logi = LogisticRegression().fit(X_train, y_train) pred = logi.predict(X_test) acc_logi = accuracy_score(y_test, pred) print(acc_logi) 0.822 Just slightly better than the linear regressor (again, this is a simple