Created
September 4, 2021 09:17
-
-
Save siddharthganjoo/21e0353c326f523d7ffdd47f18527aaf 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
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