text_plain_output_1.png image_output_1.png
from sklearn.linear_model import LogisticRegression

import sklearn

lgr = LogisticRegression()
lgr.fit(x_test, y_test)
y_pred = lgr.predict(x_test)

sklearn.metrics.accuracy_score(y_test, y_pred)