text_html_output_1.png
from sklearn.linear_model import LogisticRegression

model = LogisticRegression()

model = model.fit(X_train, y_train)
score = model.predict(X_train)

print('Training Score: ', model.score(X_train, y_train))
print('Testing Score:  ', model.score(X_test, y_test))