Created
November 9, 2020 03:40
-
-
Save merishnaSuwal/80421ed4cb9a1f9cf86ec45ed0dea2b7 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
# Features | |
X = dataset.drop('target', axis = 1) # selecting all columns except the target | |
# Target variable | |
y = dataset['target'] | |
# Print the shape | |
print(X.shape, y.shape) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment