adding dft slides

This commit is contained in:
Morten Hjorth-Jensen
2023-10-25 15:38:49 +02:00
parent 248fa398fc
commit 9587aff02c
142 changed files with 2211 additions and 3328 deletions
+40 -30
View File
@@ -333,6 +333,16 @@ const thebe_selector_output = ".output, .cell_output"
Week 42 Constructing a Neural Network code with introduction to Tensor flow
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek43.html">
Exercises weeks 43 and 44
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week43.html">
Week 43: Deep Learning: Constructing a Neural Network code and solving differential equations
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -1815,8 +1825,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.27919014 -0.36550376 -0.86282204 1.31714002 -1.99484719 -0.63837812
1.45062284 -0.33079132 -0.58182803 -0.7207467 ]
<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]
</pre></div>
</div>
</div>
@@ -2041,26 +2051,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.23516186 0.40009482 0.40666305 0.26318493 0.37335014 0.7865355
0.11587186 0.81840893 0.38046294 0.17138811]
[0.70506522 0.56475572 0.02507163 0.57935482 0.33537181 0.32382849
0.37266855 0.00348543 0.11400145 0.84991754]
[0.27152452 0.88901776 0.95166414 0.82292185 0.09524714 0.92630576
0.29374695 0.55867377 0.10959669 0.71647328]
[0.15913825 0.89604286 0.80447153 0.59412285 0.30990916 0.94642209
0.20494446 0.7215423 0.03049638 0.55649207]
[0.70899024 0.80389541 0.60883945 0.7803213 0.43466245 0.33078483
0.86852099 0.19772911 0.93022647 0.45253585]
[0.5810785 0.94823368 0.73379189 0.09408163 0.14549142 0.8353591
0.46754435 0.29732036 0.7698352 0.39200159]
[0.77265782 0.37376184 0.43647835 0.38782352 0.97449977 0.02276062
0.36802977 0.43941514 0.99006712 0.98316168]
[0.89897156 0.04956816 0.52067151 0.52180619 0.21275991 0.86420934
0.50653545 0.49057373 0.77067609 0.16043757]
[0.22616902 0.70408916 0.43902948 0.68992377 0.5608253 0.84132082
0.95661705 0.7082333 0.33600213 0.44116407]
[0.96459246 0.32141575 0.95679388 0.44595818 0.1875353 0.47700752
0.03321947 0.55865092 0.96543101 0.63227278]]
<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]]
</pre></div>
</div>
</div>
@@ -2115,13 +2125,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.022210866177877393
3.7588118737641243
0.5615739502773949
[[ 1.30150056 3.81953844 7.0377961 ]
[ 3.81953844 12.2361161 19.72546953]
[ 7.0377961 19.72546953 73.31248389]]
[79.90960269 0.08394792 6.85654993]
<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]
</pre></div>
</div>
</div>
@@ -2344,7 +2354,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_31718/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_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.
data_pandas=data_pandas.append(pd.DataFrame(new_hobbit, index=[&#39;Pippin&#39;]))
</pre></div>
</div>