image_output_1.png
from sklearn.linear_model import LogisticRegression

from sklearn.preprocessing import StandardScaler

from sklearn.preprocessing import StandardScaler
sc = StandardScaler()
X_train = sc.fit_transform(X_train)
X_test = sc.fit_transform(X_test)

from sklearn.linear_model import LogisticRegression
lrclf = LogisticRegression(random_state=0)
lrclf.fit(X_train, y_train)
y_predict = lrclf.predict(X_test)
lrclf.score(X_test, y_test)