Kaggle, Machine Leanring, Machine Learning Projects, Python, Colab.
Regression from sklearn.linear_model import LogisticRegression lr = LogisticRegression() lr.fit(X_train, y_train) lr_prediction = lr.predict(X_test) from sklearn.metrics import accuracy_score lr_accuracy = accuracy_score(y_test, lr_prediction) lr_accuracy #0.8809523809523809 88% is good. Let’s try