Created
December 14, 2020 05:14
-
-
Save MoGaber/52996608d434b44579bd06df31947d71 to your computer and use it in GitHub Desktop.
train_test
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
x_train, x_test, y_train, y_test = train_test_split(resampled_data, target, test_size=0.2, random_state=42) | |
LR = LogisticRegression(max_iter = 10000) | |
LR.fit(x_train, y_train) | |
LR.score(x_test, y_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment