Skip to content

Commit 710a0f9

Browse files
committed
adding image feature extraction
1 parent 8e9db1a commit 710a0f9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/logistic_sgd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,12 @@ def load_data(dataset):
202202
urllib.urlretrieve(origin, dataset)
203203

204204
print '... loading data'
205-
205+
#print dataset
206206
# Load the dataset
207207
f = gzip.open(dataset, 'rb')
208208
train_set, valid_set, test_set = cPickle.load(f)
209209
f.close()
210+
210211
#train_set, valid_set, test_set format: tuple(input, target)
211212
#input is an numpy.ndarray of 2 dimensions (a matrix)
212213
#witch row's correspond to an example. target is a

0 commit comments

Comments
 (0)