This commit is contained in:
Morten Hjorth-Jensen
2023-11-08 15:57:33 +01:00
parent 2edd177646
commit 3b9f0dbb29
145 changed files with 3873 additions and 2256 deletions
+40 -30
View File
@@ -343,6 +343,16 @@ const thebe_selector_output = ".output, .cell_output"
Week 43: Deep Learning: Constructing a Neural Network code and solving differential equations
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week44.html">
Week 44, Convolutional Neural Networks (CNN)
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week45.html">
Week 45, Recurrent Neural Networks
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -1825,8 +1835,8 @@ developed in the 1970s, namely EISPACK and LINPACK. We describe them shortly he
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 0.98502634 -1.56822376 -0.45668633 1.26063304 -1.43801947 -0.72264336
0.12428533 -0.64472123 -0.99439119 0.84257054]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 1.303107 1.38160211 0.19790229 1.36099915 -2.08992459 -0.86156954
2.9012691 -0.18410452 -1.06886644 0.01011906]
</pre></div>
</div>
</div>
@@ -2051,26 +2061,26 @@ lowercase letters for vectors and uppercase letters for matrices)</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.36681298 0.62199022 0.32023229 0.08231145 0.09917246 0.29025302
0.85115237 0.79516409 0.833774 0.85910255]
[0.08990571 0.56425249 0.34440086 0.37540613 0.30085673 0.93901621
0.00790262 0.92604308 0.7742213 0.58486384]
[0.57811941 0.84268865 0.11339075 0.57329374 0.78094722 0.46156624
0.2545724 0.1095957 0.6559956 0.22291364]
[0.12049203 0.50172141 0.38493367 0.62633359 0.13880371 0.37092452
0.21913628 0.78478186 0.12625715 0.89142357]
[0.69018454 0.02200532 0.63281889 0.28622606 0.84900747 0.44440345
0.5302517 0.15957051 0.10154612 0.7025846 ]
[0.26518597 0.48577692 0.68736603 0.10401756 0.88473534 0.31949465
0.00434364 0.20240089 0.46285399 0.64432571]
[0.39229856 0.66289428 0.2591811 0.68871199 0.37021881 0.32041353
0.93049763 0.30690504 0.63212587 0.56397327]
[0.31212802 0.82402448 0.94610136 0.19407473 0.28535441 0.99933329
0.55331574 0.96439516 0.4809676 0.21947455]
[0.66489687 0.7613959 0.33285905 0.20726939 0.74587018 0.97375628
0.62642303 0.95762994 0.22169909 0.82717721]
[0.8470287 0.16761991 0.74042291 0.42143986 0.70262543 0.8964059
0.69629255 0.05916189 0.89940861 0.19010909]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.27204759 0.8509716 0.98844754 0.6522099 0.81868633 0.74934715
0.53632379 0.2257879 0.88228452 0.33213799]
[0.82550815 0.97032289 0.54852248 0.45000312 0.45227801 0.44437409
0.66608227 0.37871763 0.10320791 0.55812916]
[0.10455569 0.18044829 0.92543216 0.81873184 0.05924492 0.00620039
0.03106988 0.61631038 0.56830193 0.46580623]
[0.97991527 0.62460522 0.51635486 0.08776426 0.80418542 0.94035843
0.63870745 0.64347512 0.03019138 0.45811552]
[0.82050873 0.4757488 0.95696156 0.2970942 0.56217428 0.16487517
0.2522939 0.44886896 0.66951925 0.56135704]
[0.82178144 0.58639705 0.0944958 0.69585594 0.08191117 0.42487977
0.29009852 0.08368077 0.6691852 0.48444949]
[0.55790428 0.58519863 0.35795044 0.65925306 0.53506617 0.60090208
0.22830615 0.30506642 0.79142002 0.68029581]
[0.12867125 0.34373214 0.89558707 0.05629549 0.54342461 0.10888134
0.27485633 0.97326759 0.10477501 0.80621648]
[0.56756375 0.18276764 0.83519995 0.23044077 0.43559429 0.0934955
0.5712104 0.92054587 0.10120164 0.69666941]
[0.17456211 0.42323635 0.03955811 0.54969188 0.5793788 0.49423098
0.78834469 0.80312429 0.94756925 0.83793923]]
</pre></div>
</div>
</div>
@@ -2125,13 +2135,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.1804736801658276
3.577421319924605
-0.13894606338836166
[[ 0.93900613 3.09173024 2.71615146]
[ 3.09173024 11.22689573 9.13261905]
[ 2.71615146 9.13261905 12.06931309]]
[21.60398689 0.07438088 2.55684718]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.14482255345953607
3.467427755242117
-0.7005538702846336
[[ 0.82032378 2.41772265 2.45808919]
[ 2.41772265 8.23849741 7.23077531]
[ 2.45808919 7.23077531 13.06343533]]
[18.91591367 0.08817972 3.11816312]
</pre></div>
</div>
</div>
@@ -2354,7 +2364,7 @@ Name: Aragorn, dtype: object
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_11068/1326197715.py:6: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_8790/1326197715.py:6: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
data_pandas=data_pandas.append(pd.DataFrame(new_hobbit, index=[&#39;Pippin&#39;]))
</pre></div>
</div>