text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.linear_model import LogisticRegression

lr = LogisticRegression()

lr.fit(X_train, y_train)

pred = lr.predict(X_test)
pred

lr.score(X_test, y_test)