This commit is contained in:
Morten Hjorth-Jensen
2023-10-15 21:55:49 +02:00
parent cb5ab447ad
commit edf33b439c
171 changed files with 18722 additions and 1691 deletions
+54 -29
View File
@@ -313,6 +313,26 @@ const thebe_selector_output = ".output, .cell_output"
Week 40: Gradient descent methods (continued) and start Neural networks
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek41.html">
Exercises week 41
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week41.html">
Week 41 Neural networks and constructing a neural network code
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek42.html">
Exercises week 42
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week42.html">
Week 42 Constructing a Neural Network code with introduction to Tensor flow
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -325,6 +345,11 @@ const thebe_selector_output = ".output, .cell_output"
Project 1 on Machine Learning, deadline October 9 (midnight), 2023
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="project2.html">
Project 2 on Machine Learning, deadline November 13 (Midnight)
</a>
</li>
</ul>
</div>
@@ -628,8 +653,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.31579721 1.74724767 -0.89609007 2.48464841 -0.36051635 -2.41246325
0.28008933 0.45134965 -0.52204004 -0.48145226]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-1.0526992 -0.18065292 0.78521833 0.80074264 0.59327016 -1.16492688
0.85276246 -0.04581197 -0.65825344 -0.87931006]
</pre></div>
</div>
</div>
@@ -850,26 +875,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.69873514 0.39457095 0.31927572 0.01704432 0.11837671 0.15047127
0.56465688 0.50274255 0.69818111 0.82296251]
[0.45308692 0.37112277 0.77794957 0.43043913 0.95327702 0.89793609
0.29401213 0.08245909 0.1520039 0.59511582]
[0.98004227 0.101058 0.57572321 0.61394448 0.963198 0.49616116
0.83488328 0.05432856 0.12814914 0.03856554]
[0.283078 0.19166136 0.29275129 0.39300201 0.59004971 0.29199381
0.40644745 0.9036573 0.44729805 0.34447052]
[0.57670824 0.6568551 0.84380376 0.86221134 0.28908491 0.25663096
0.62862896 0.1937079 0.15673992 0.44921888]
[0.25139357 0.11197884 0.26514544 0.11896755 0.13404683 0.21059098
0.86012593 0.67890723 0.97948913 0.30567713]
[0.51845286 0.76010633 0.71640333 0.75282841 0.47447472 0.78882958
0.84159521 0.3729492 0.80152684 0.04084872]
[0.38088413 0.63567272 0.82909728 0.13829298 0.26037366 0.92772833
0.74577867 0.42239354 0.20594513 0.72328506]
[0.38831624 0.44520102 0.17305512 0.0106014 0.94866246 0.84929103
0.81753152 0.06664867 0.96750421 0.50462474]
[0.32584888 0.58948347 0.22729927 0.01919702 0.74280244 0.73448544
0.33995567 0.61197218 0.5320148 0.34517495]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.80207897 0.22885848 0.14526269 0.91022359 0.76135601 0.52687741
0.68711054 0.01455922 0.70967214 0.47297104]
[0.87431418 0.15724663 0.06301519 0.41894238 0.47364408 0.06406913
0.31588043 0.87953769 0.74731872 0.10490195]
[0.87533326 0.71038664 0.29726695 0.34011629 0.51741855 0.32185967
0.58793527 0.0510594 0.81948868 0.5914397 ]
[0.96850702 0.53558374 0.40512793 0.83443463 0.96618584 0.54644868
0.1871257 0.28585116 0.79035184 0.2171263 ]
[0.46873567 0.91358019 0.28294305 0.03061555 0.86850963 0.19910208
0.16650509 0.07417526 0.42535003 0.98765625]
[0.29588674 0.70249832 0.5364857 0.1036131 0.56249706 0.15827078
0.53515878 0.40182469 0.24828523 0.44402322]
[0.95746721 0.33159476 0.86811569 0.89098129 0.67109613 0.96599594
0.17078905 0.22297358 0.2193546 0.4993133 ]
[0.60675691 0.33800793 0.23780865 0.30914432 0.64695862 0.19717411
0.94400087 0.07404236 0.20967833 0.74391438]
[0.72651548 0.13310008 0.78220032 0.90556496 0.45014 0.19314584
0.71977472 0.97866042 0.53700083 0.10479359]
[0.17829104 0.30129931 0.77203046 0.2707158 0.09391542 0.82988221
0.61480907 0.29282684 0.37667238 0.91086026]]
</pre></div>
</div>
</div>
@@ -929,13 +954,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.1388976715362099
4.3703468543933255
0.08844723450419088
[[ 1.06638817 3.39483726 3.28607817]
[ 3.39483726 11.55955126 10.56366546]
[ 3.28607817 10.56366546 16.19343949]]
[25.58818643 0.05982961 3.17136288]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.016972818397989375
3.9050595316983907
0.11007935789924998
[[ 1.21860973 3.69519297 6.31082439]
[ 3.69519297 12.18993003 19.00431775]
[ 6.31082439 19.00431775 65.3283771 ]]
[72.14421971 0.08339896 6.5092982 ]
</pre></div>
</div>
</div>