Minor changes
This commit is contained in:
@@ -164,6 +164,10 @@ def main():
|
|||||||
test['features'], test['labels'] = read_mnist('t10k-images-idx3-ubyte.gz',
|
test['features'], test['labels'] = read_mnist('t10k-images-idx3-ubyte.gz',
|
||||||
't10k-labels-idx1-ubyte.gz')
|
't10k-labels-idx1-ubyte.gz')
|
||||||
|
|
||||||
|
print(type(train))
|
||||||
|
print(type(train['features']))
|
||||||
|
print(type(train['labels']))
|
||||||
|
|
||||||
# Step 3:
|
# Step 3:
|
||||||
# Explore the dataset
|
# Explore the dataset
|
||||||
print('Number of training images:', train['features'].shape[0])
|
print('Number of training images:', train['features'].shape[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user