Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
train_set = pd.read_csv('/home/jupyter-SiddharthGan/week 3/train.csv')
test_set = pd.read_csv("/home/jupyter-SiddharthGan/week 3/test.csv")
dig_set = pd.read_csv("/home/jupyter-SiddharthGan/week 3/Dig-MNIST.csv")
train_df=pd.read_csv("/home/jupyter-SiddharthGan/week 3/train.csv")
test_df=pd.read_csv("/home/jupyter-SiddharthGan/week 3/test.csv")
x_train=train_df.drop(["label"], axis=1).values.astype('float32')
y_train=train_df["label"].values.astype("int32")
x_test=test_df.drop(["id"],axis=1).values.astype('float32')
test_df.columns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment