Skip to content

Commit b33b1d4

Browse files
committed
Added complete zero image from MNIST data
1 parent 8507ae5 commit b33b1d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fig/chap3/mnist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
import matplotlib.pyplot as plt
2020
import numpy as np
2121

22-
def main():
22+
def main(j):
2323
training_set, validation_set, test_set = load_data()
2424
images = get_images(training_set)[:100]
25-
plot_10_by_10_images(images)
25+
plot_mnist_digit(images[j])
2626

2727
#### Plotting
2828
def plot_images_together(images):

0 commit comments

Comments
 (0)