update lecture notes

This commit is contained in:
Morten Hjorth-Jensen
2024-10-28 06:15:26 +01:00
parent d58daeae80
commit d6bb9335d0
158 changed files with 29822 additions and 2310 deletions
+34 -29
View File
@@ -348,6 +348,11 @@ const thebe_selector_output = ".output, .cell_output"
Exercises week 43
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week44.html">
Week 44, Convolutional Neural Networks (CNN)
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -668,8 +673,8 @@ matrices and vectors.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-0.08059005 0.26043697 0.54190252 -0.8321864 1.74960664 0.28855565
1.03029311 -0.54136139 0.94583038 0.99378218]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 0.32001824 -0.74192227 0.29589074 0.79474214 0.93002171 -0.3039884
-0.23453753 0.42163714 0.38469469 -0.16425426]
</pre></div>
</div>
</div>
@@ -890,26 +895,26 @@ as (recall that we user lowercase letters for vectors and uppercase letters for
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.77235007 0.27529208 0.31199504 0.17293829 0.82162246 0.13378194
0.90679215 0.39664124 0.3121824 0.13861839]
[0.69473608 0.72612916 0.4570065 0.41275555 0.76067335 0.56239325
0.33900003 0.83105136 0.14230327 0.04713857]
[0.62377027 0.12392385 0.7500676 0.67969567 0.15971479 0.97072608
0.00183119 0.95291169 0.59353543 0.03550103]
[0.99152919 0.13537597 0.88366546 0.73118203 0.82120582 0.53939154
0.01958776 0.59647764 0.17941609 0.34647125]
[0.43263402 0.2754374 0.59137018 0.52019078 0.71121535 0.60648493
0.94665557 0.66298436 0.22615136 0.29639686]
[0.84424529 0.59603845 0.9219476 0.44909201 0.67715931 0.18908167
0.76516101 0.38007856 0.83478186 0.75271427]
[0.53862422 0.11323706 0.15316333 0.34540564 0.81994631 0.52292446
0.26760957 0.02430273 0.03576146 0.67801091]
[0.52928925 0.14990609 0.86292532 0.43014974 0.83844809 0.04560463
0.84163178 0.80868063 0.8371938 0.39611129]
[0.12607006 0.5113303 0.63901709 0.99976659 0.34756595 0.28622513
0.89290901 0.84314251 0.31916189 0.29920799]
[0.23476091 0.40074419 0.21933245 0.48906993 0.19899282 0.06752501
0.85079729 0.64275853 0.33164051 0.08304321]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.82195744 0.3891388 0.6393255 0.23848657 0.94055712 0.09024338
0.37413588 0.74761567 0.35435219 0.07518155]
[0.38479849 0.78036158 0.21824173 0.13664315 0.21480211 0.52460926
0.89595918 0.25702102 0.46918325 0.00800661]
[0.48745365 0.65375675 0.41048039 0.738242 0.68043741 0.42684131
0.68546404 0.40826579 0.52793214 0.7031337 ]
[0.07395645 0.49563003 0.53379115 0.81702472 0.00841458 0.72858608
0.30840554 0.47836061 0.2180387 0.45175115]
[0.36057178 0.55188499 0.48122761 0.1403625 0.56938055 0.04170341
0.81077908 0.74066856 0.87234539 0.77231525]
[0.4271294 0.25172651 0.83065295 0.37772591 0.79299228 0.80941284
0.51579138 0.45860296 0.80070169 0.07136868]
[0.00355788 0.63534832 0.84438755 0.30356855 0.20488577 0.24956991
0.06192181 0.42523073 0.09314326 0.14371995]
[0.74985547 0.10252946 0.3477494 0.32907268 0.41745457 0.38472307
0.16382994 0.55656086 0.84104054 0.03111555]
[0.83749554 0.84073416 0.69347409 0.82022408 0.04823618 0.34401751
0.72546035 0.60205311 0.22177506 0.58325333]
[0.30521597 0.84357837 0.8955058 0.17549914 0.96618572 0.86987923
0.03103759 0.44019341 0.30819287 0.07016861]]
</pre></div>
</div>
</div>
@@ -969,13 +974,13 @@ covariance matrix through the <strong>np.linalg.eig()</strong> function.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.04071979724729911
4.064820972167253
-0.3254718508870977
[[0.88727586 2.57584621 2.19767225]
[2.57584621 8.44132765 6.34964801]
[2.19767225 6.34964801 9.99322469]]
[16.34233281 0.08212093 2.89737445]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.0005546012958340718
4.201607904119753
-0.10755063024965804
[[ 1.0024984 3.08394521 3.01944109]
[ 3.08394521 10.46598005 8.68420144]
[ 3.01944109 8.68420144 13.58893352]]
[21.74071459 0.05707756 3.25961982]
</pre></div>
</div>
</div>