text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.metrics import accuracy_score

from sklearn.linear_model import LogisticRegression
model_LR = LogisticRegression()
model_LR.fit(X_train, y_train)

predictionLR = model_LR.predict(X_test)
from sklearn.metrics import accuracy_score
print(accuracy_score(y_test, predictionLR) * 100)