-
-
Save amankharwal/ba329a4a595c3f6fdf1401430698a64d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_score = accuracy_score(y_test, lr_clf.predict(X_test)) * 100 | |
train_score = accuracy_score(y_train, lr_clf.predict(X_train)) * 100 | |
results_df = pd.DataFrame(data=[["Logistic Regression", train_score, test_score]], | |
columns=['Model', 'Training Accuracy %', 'Testing Accuracy %']) | |
results_df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment