text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.linear_model import LogisticRegression
classifier = LogisticRegression(random_state=0)
classifier.fit(X_train, y_train)
y_pred_lg = classifier.predict(X_test)