Skip to content

Commit e72bb95

Browse files
author
giorgiop
committed
fixed typos
1 parent ecd414d commit e72bb95

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/antirectifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_output(self, train):
6666
nb_classes = 10
6767
nb_epoch = 40
6868

69-
# the data, shuffled and split between tran and test sets
69+
# the data, shuffled and split between train and test sets
7070
(X_train, y_train), (X_test, y_test) = mnist.load_data()
7171

7272
X_train = X_train.reshape(60000, 784)

examples/mnist_cnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# convolution kernel size
3030
nb_conv = 3
3131

32-
# the data, shuffled and split between tran and test sets
32+
# the data, shuffled and split between train and test sets
3333
(X_train, y_train), (X_test, y_test) = mnist.load_data()
3434

3535
X_train = X_train.reshape(X_train.shape[0], 1, img_rows, img_cols)

examples/mnist_mlp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
nb_classes = 10
2121
nb_epoch = 20
2222

23-
# the data, shuffled and split between tran and test sets
23+
# the data, shuffled and split between train and test sets
2424
(X_train, y_train), (X_test, y_test) = mnist.load_data()
2525

2626
X_train = X_train.reshape(60000, 784)

examples/mnist_siamese_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def compute_accuracy(predictions, labels):
7777
return labels[predictions.ravel() < 0.5].mean()
7878

7979

80-
# the data, shuffled and split between tran and test sets
80+
# the data, shuffled and split between train and test sets
8181
(X_train, y_train), (X_test, y_test) = mnist.load_data()
8282
X_train = X_train.reshape(60000, 784)
8383
X_test = X_test.reshape(10000, 784)

0 commit comments

Comments
 (0)