text_plain_output_1.png image_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.metrics import classification_report

logmodel = LogisticRegression()
logmodel.fit(X_train, y_train)

predictions = logmodel.predict(X_test)

print(classification_report(y_test, predictions))