text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.metrics import accuracy_score, confusion_matrix

model = LogisticRegression()

model = model.fit(X_train, y_train)
score = model.predict(X_train)

pred = model.predict(X_test)

accuracy_score(y_test, pred)