Created
June 14, 2020 00:29
-
-
Save securetorobert/afc380da79f99c14b144954f1ba288a7 to your computer and use it in GitHub Desktop.
Split boston housing data
This file contains hidden or 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
from sklearn.model_selection import train_test_split | |
X_train, X_test, y_train, y_test = train_test_split(predictors, target, test_size=0.3, random_state=40) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment