Skip to content

Commit 87460ee

Browse files
committed
Merge pull request lisa-lab#136 from benjaminirving/minor_typo
fix minor typos and formatting
2 parents 6c5f07b + c262523 commit 87460ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

code/logistic_sgd.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ def load_data(dataset):
207207
f = gzip.open(dataset, 'rb')
208208
train_set, valid_set, test_set = cPickle.load(f)
209209
f.close()
210-
#train_set, valid_set, test_set format: tuple(input, target)
211-
#input is an numpy.ndarray of 2 dimensions (a matrix)
212-
#witch row's correspond to an example. target is a
213-
#numpy.ndarray of 1 dimensions (vector)) that have the same length as
214-
#the number of rows in the input. It should give the target
215-
#target to the example with the same index in the input.
210+
# train_set, valid_set, test_set format: tuple(input, target)
211+
# input is a numpy.ndarray of 2 dimensions (a matrix)
212+
# where each row corresponds to an example. target is a
213+
# numpy.ndarray of 1 dimension (vector) that has the same length as
214+
# the number of rows in the input. It should give the target
215+
# to the example with the same index in the input.
216216

217217
def shared_dataset(data_xy, borrow=True):
218218
""" Function that loads the dataset into shared variables

0 commit comments

Comments
 (0)