Created
March 20, 2022 17:53
-
-
Save kshirsagarsiddharth/c1776b0fbeba2ea5ea0b4fc04eec77e0 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
X_train, X_test, y_train, y_test \ | |
= train_test_split(X, y, test_size=0.1, random_state=1) | |
X_train, X_valid, y_train, y_valid \ | |
= train_test_split(X_train, y_train, test_size=0.1, random_state=1) | |
X_train.shape, X_test.shape, X_valid.shape | |
((4131, 8), (511, 8), (459, 8)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment