text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.metrics import classification_report

from sklearn.metrics import classification_report,confusion_matrix,accuracy_score

from sklearn.linear_model import LogisticRegression
logit = LogisticRegression(max_iter=1000)
logit.fit(X_train, y_train)

score = logit.score(X_train, y_train)

y = logit.predict(X_test)

from sklearn.metrics import classification_report
print('classification_report of X_test data is : ', classification_report(y_test, y))