|
7 | 7 | "<h1 align=\"center\"> Logistic Regression (MNIST) </h1>" |
8 | 8 | ] |
9 | 9 | }, |
| 10 | + { |
| 11 | + "cell_type": "markdown", |
| 12 | + "metadata": {}, |
| 13 | + "source": [ |
| 14 | + "1. Explained variance. \n", |
| 15 | + "<br>\n", |
| 16 | + "2. MNIST (mention faster learning)\n", |
| 17 | + "<br> " |
| 18 | + ] |
| 19 | + }, |
10 | 20 | { |
11 | 21 | "cell_type": "markdown", |
12 | 22 | "metadata": {}, |
|
78 | 88 | "## Downloading MNIST Dataset" |
79 | 89 | ] |
80 | 90 | }, |
81 | | - { |
82 | | - "cell_type": "code", |
83 | | - "execution_count": 2, |
84 | | - "metadata": {}, |
85 | | - "outputs": [ |
86 | | - { |
87 | | - "name": "stdout", |
88 | | - "output_type": "stream", |
89 | | - "text": [ |
90 | | - "--2017-06-29 22:43:27-- http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz\n", |
91 | | - "Resolving yann.lecun.com (yann.lecun.com)... 216.165.22.6\n", |
92 | | - "Connecting to yann.lecun.com (yann.lecun.com)|216.165.22.6|:80... connected.\n", |
93 | | - "HTTP request sent, awaiting response... 200 OK\n", |
94 | | - "Length: 9912422 (9.5M) [application/x-gzip]\n", |
95 | | - "Saving to: ‘data/train-images-idx3-ubyte.gz’\n", |
96 | | - "\n", |
97 | | - "data/train-images-i 100%[=====================>] 9.45M 2.68MB/s in 4.2s \n", |
98 | | - "\n", |
99 | | - "2017-06-29 22:43:32 (2.23 MB/s) - ‘data/train-images-idx3-ubyte.gz’ saved [9912422/9912422]\n", |
100 | | - "\n" |
101 | | - ] |
102 | | - } |
103 | | - ], |
104 | | - "source": [ |
105 | | - "# !wget -O data/train-images-idx3-ubyte.gz http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz" |
106 | | - ] |
107 | | - }, |
108 | | - { |
109 | | - "cell_type": "code", |
110 | | - "execution_count": 11, |
111 | | - "metadata": {}, |
112 | | - "outputs": [ |
113 | | - { |
114 | | - "name": "stdout", |
115 | | - "output_type": "stream", |
116 | | - "text": [ |
117 | | - "--2017-06-18 01:55:28-- http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz\n", |
118 | | - "Resolving yann.lecun.com (yann.lecun.com)... 216.165.22.6\n", |
119 | | - "Connecting to yann.lecun.com (yann.lecun.com)|216.165.22.6|:80... connected.\n", |
120 | | - "HTTP request sent, awaiting response... 200 OK\n", |
121 | | - "Length: 28881 (28K) [application/x-gzip]\n", |
122 | | - "Saving to: ‘data/train-labels-idx1-ubyte.gz’\n", |
123 | | - "\n", |
124 | | - "data/train-labels-i 100%[=====================>] 28.20K --.-KB/s in 0.09s \n", |
125 | | - "\n", |
126 | | - "2017-06-18 01:55:28 (307 KB/s) - ‘data/train-labels-idx1-ubyte.gz’ saved [28881/28881]\n", |
127 | | - "\n" |
128 | | - ] |
129 | | - } |
130 | | - ], |
131 | | - "source": [ |
132 | | - "# !wget -O data/train-labels-idx1-ubyte.gz http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz" |
133 | | - ] |
134 | | - }, |
135 | | - { |
136 | | - "cell_type": "code", |
137 | | - "execution_count": 12, |
138 | | - "metadata": {}, |
139 | | - "outputs": [ |
140 | | - { |
141 | | - "name": "stdout", |
142 | | - "output_type": "stream", |
143 | | - "text": [ |
144 | | - "--2017-06-18 01:55:29-- http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz\n", |
145 | | - "Resolving yann.lecun.com (yann.lecun.com)... 216.165.22.6\n", |
146 | | - "Connecting to yann.lecun.com (yann.lecun.com)|216.165.22.6|:80... connected.\n", |
147 | | - "HTTP request sent, awaiting response... 200 OK\n", |
148 | | - "Length: 1648877 (1.6M) [application/x-gzip]\n", |
149 | | - "Saving to: ‘data/t10k-images-idx3-ubyte.gz’\n", |
150 | | - "\n", |
151 | | - "data/t10k-images-id 100%[=====================>] 1.57M 953KB/s in 1.7s \n", |
152 | | - "\n", |
153 | | - "2017-06-18 01:55:30 (953 KB/s) - ‘data/t10k-images-idx3-ubyte.gz’ saved [1648877/1648877]\n", |
154 | | - "\n" |
155 | | - ] |
156 | | - } |
157 | | - ], |
158 | | - "source": [ |
159 | | - "# !wget -O data/t10k-images-idx3-ubyte.gz http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz" |
160 | | - ] |
161 | | - }, |
162 | | - { |
163 | | - "cell_type": "code", |
164 | | - "execution_count": 13, |
165 | | - "metadata": {}, |
166 | | - "outputs": [ |
167 | | - { |
168 | | - "name": "stdout", |
169 | | - "output_type": "stream", |
170 | | - "text": [ |
171 | | - "--2017-06-18 01:55:31-- http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz\n", |
172 | | - "Resolving yann.lecun.com (yann.lecun.com)... 216.165.22.6\n", |
173 | | - "Connecting to yann.lecun.com (yann.lecun.com)|216.165.22.6|:80... connected.\n", |
174 | | - "HTTP request sent, awaiting response... 200 OK\n", |
175 | | - "Length: 4542 (4.4K) [application/x-gzip]\n", |
176 | | - "Saving to: ‘data/t10k-labels-idx1-ubyte.gz’\n", |
177 | | - "\n", |
178 | | - "data/t10k-labels-id 100%[=====================>] 4.44K --.-KB/s in 0s \n", |
179 | | - "\n", |
180 | | - "2017-06-18 01:55:31 (15.4 MB/s) - ‘data/t10k-labels-idx1-ubyte.gz’ saved [4542/4542]\n", |
181 | | - "\n" |
182 | | - ] |
183 | | - } |
184 | | - ], |
185 | | - "source": [ |
186 | | - "# !wget -O data/t10k-labels-idx1-ubyte.gz http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz" |
187 | | - ] |
188 | | - }, |
189 | 91 | { |
190 | 92 | "cell_type": "markdown", |
191 | 93 | "metadata": {}, |
|
0 commit comments