Created
January 29, 2019 04:30
-
-
Save nikkisharma536/3d2242c2edf21fc4e3454ae1d76dffab to your computer and use it in GitHub Desktop.
upload dataset
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
| # import libraries | |
| import numpy as np | |
| import tensorflow as tf | |
| import pandas as pd | |
| # upload train and test data | |
| train = pd.read_csv('/users/nikki/Downloads/all (1)/train.csv') | |
| test = pd.read_csv('/users/nikki/Downloads/all (1)/test.csv') | |
| target = train["label"] | |
| # Drop 'label' column | |
| X_train = train.drop(labels = ["label"],axis = 1) | |
| # free some space | |
| del train |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment