text_plain_output_1.png
from sklearn.linear_model import LogisticRegression

import sklearn
from sklearn.linear_model import LogisticRegression
model = LogisticRegression()
model.fit(X_train, y_train)
print('train score:', model.score(X_train, y_train))
print('test score:', model.score(X_val, y_val))