|
22 | 22 | "execution_count": 1,
|
23 | 23 | "metadata": {},
|
24 | 24 | "outputs": [
|
| 25 | + { |
| 26 | + "name": "stderr", |
| 27 | + "output_type": "stream", |
| 28 | + "text": [ |
| 29 | + "WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.\n" |
| 30 | + ] |
| 31 | + }, |
25 | 32 | {
|
26 | 33 | "name": "stdout",
|
27 | 34 | "output_type": "stream",
|
28 | 35 | "text": [
|
29 |
| - " Neural network successfully converged after 57 epochs." |
| 36 | + "\r", |
| 37 | + " Neural network successfully converged after 104 epochs." |
30 | 38 | ]
|
31 | 39 | }
|
32 | 40 | ],
|
|
55 | 63 | },
|
56 | 64 | {
|
57 | 65 | "cell_type": "code",
|
58 |
| - "execution_count": 2, |
| 66 | + "execution_count": null, |
59 | 67 | "metadata": {},
|
60 |
| - "outputs": [ |
61 |
| - { |
62 |
| - "data": { |
63 |
| - "application/vnd.jupyter.widget-view+json": { |
64 |
| - "model_id": "3b9cbb3526ec457fadfd25ac301f0e5c", |
65 |
| - "version_major": 2, |
66 |
| - "version_minor": 0 |
67 |
| - }, |
68 |
| - "text/plain": [ |
69 |
| - " 0%| | 0/2000 [00:00<?, ?it/s]" |
70 |
| - ] |
71 |
| - }, |
72 |
| - "metadata": {}, |
73 |
| - "output_type": "display_data" |
74 |
| - }, |
75 |
| - { |
76 |
| - "name": "stdout", |
77 |
| - "output_type": "stream", |
78 |
| - "text": [ |
79 |
| - "\n", |
80 |
| - "Converged with loss: 5.17\n", |
81 |
| - "Quality Score: -0.116 \t Good: Smaller than 0.5 Bad: Larger than 1.0 \t NOTE: Less sensitive to mode collapse.\n" |
82 |
| - ] |
83 |
| - } |
84 |
| - ], |
| 68 | + "outputs": [], |
85 | 69 | "source": [
|
86 | 70 | "# Sampling with MCMC\n",
|
87 | 71 | "sampling_algorithm = \"mcmc\"\n",
|
|
158 | 142 | {
|
159 | 143 | "data": {
|
160 | 144 | "application/vnd.jupyter.widget-view+json": {
|
161 |
| - "model_id": "70b0cfdec1ba4afbbe5b42f7e4ff6d3a", |
| 145 | + "model_id": "", |
162 | 146 | "version_major": 2,
|
163 | 147 | "version_minor": 0
|
164 | 148 | },
|
|
174 | 158 | "output_type": "stream",
|
175 | 159 | "text": [
|
176 | 160 | "\n",
|
177 |
| - "Converged with loss: 5.18\n", |
178 |
| - "Quality Score: 0.104 \t Good: Smaller than 0.5 Bad: Larger than 1.0 \t NOTE: Less sensitive to mode collapse.\n" |
| 161 | + "Converged with loss: 3.11\n", |
| 162 | + "Quality Score: -0.029 \t Good: Smaller than 0.5 Bad: Larger than 1.0 \t NOTE: Less sensitive to mode collapse.\n" |
179 | 163 | ]
|
180 | 164 | }
|
181 | 165 | ],
|
|
217 | 201 | "name": "stdout",
|
218 | 202 | "output_type": "stream",
|
219 | 203 | "text": [
|
220 |
| - " Neural network successfully converged after 59 epochs." |
| 204 | + " Neural network successfully converged after 72 epochs." |
221 | 205 | ]
|
222 | 206 | }
|
223 | 207 | ],
|
|
326 | 310 | "name": "stdout",
|
327 | 311 | "output_type": "stream",
|
328 | 312 | "text": [
|
329 |
| - " Neural network successfully converged after 76 epochs." |
| 313 | + " Neural network successfully converged after 98 epochs." |
330 | 314 | ]
|
331 | 315 | }
|
332 | 316 | ],
|
|
342 | 326 | ],
|
343 | 327 | "metadata": {
|
344 | 328 | "kernelspec": {
|
345 |
| - "display_name": "Python 3", |
| 329 | + "display_name": "Python 3 (ipykernel)", |
346 | 330 | "language": "python",
|
347 | 331 | "name": "python3"
|
348 | 332 | },
|
|
356 | 340 | "name": "python",
|
357 | 341 | "nbconvert_exporter": "python",
|
358 | 342 | "pygments_lexer": "ipython3",
|
359 |
| - "version": "3.12.0" |
| 343 | + "version": "3.12.4" |
| 344 | + }, |
| 345 | + "toc": { |
| 346 | + "base_numbering": 1, |
| 347 | + "nav_menu": {}, |
| 348 | + "number_sections": true, |
| 349 | + "sideBar": true, |
| 350 | + "skip_h1_title": false, |
| 351 | + "title_cell": "Table of Contents", |
| 352 | + "title_sidebar": "Contents", |
| 353 | + "toc_cell": false, |
| 354 | + "toc_position": {}, |
| 355 | + "toc_section_display": true, |
| 356 | + "toc_window_display": false |
360 | 357 | }
|
361 | 358 | },
|
362 | 359 | "nbformat": 4,
|
|
0 commit comments