Skip to content

Commit 3171e09

Browse files
committed
Added data folder
1 parent 767098b commit 3171e09

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ docs/_build/
5757

5858
# Data and temporary data
5959
iterate.dat
60-
data/

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ UFLDL_Tutorial
44
UFLDL Tutorial
55

66
A python implementation of the exercises on http://ufldl.stanford.edu/wiki/index.php/UFLDL_Tutorial
7+
78
Including
9+
810
Sparse Autoencoder
11+
912
Softmax Regression
10-
Self-Taught Learning
13+
14+
Self-Taught Learning

data/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

softmax_regression/softmax_exercise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# On some platforms, the files might be saved as
4545
# train-images.idx3-ubyte / train-labels.idx1-ubyte
4646

47-
mnist = fetch_mldata('MNIST original', data_home='./data/')
47+
mnist = fetch_mldata('MNIST original', data_home='../data/')
4848

4949
# scale the pixel values to the range [0,1]
5050
images = np.float32(mnist.data)/255.0

0 commit comments

Comments
 (0)