This commit is contained in:
Morten Hjorth-Jensen
2024-08-19 15:21:19 +02:00
parent 0f8e7be42a
commit 60cd6f71da
8 changed files with 676 additions and 676 deletions
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -28,7 +28,7 @@ display(data_pandas)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_15329/1326197715.py in ?()
/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_21437/1326197715.py in ?()
----> 6 new_hobbit = {'First Name': ["Peregrin"],
 7 'Last Name': ["Took"],
 8 'Place of birth': ["Shire"],
File diff suppressed because one or more lines are too long
+33 -33
View File
@@ -1167,7 +1167,7 @@ doconce format html week34.do.txt --no_mako -->
<li><p>On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.</p></li>
</ol>
<ul class="simple">
<li><p><a class="reference external" href="https://youtu.be/">Link to recording of lecture TBA</a></p></li>
<li><p><a class="reference external" href="https://youtu.be/82IPtCrzbhs">Link to recording of lecture</a></p></li>
</ul>
<p>The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.</p>
</div>
@@ -1236,7 +1236,7 @@ doconce format html week34.do.txt --no_mako -->
<li><p>Project 2: November 4 (available October 8, graded with feedback)</p></li>
<li><p>Project 3: December 9 (available November 5, graded with feedback)</p></li>
</ol>
<p>Extra Credit (not mandatory), weekly exercise assignments, 10 in total (due Friday same week), 10% additional score. The extra credit assignments are due each Sunday and can be uploaed to <strong>Canvas</strong> in your preferred format (although we prefer jupyter-notebooks). First assignment is for week 35. Each weekly exercise set counts 1%.</p>
<p>Extra Credit (not mandatory), weekly exercise assignments, 10 in total (due Friday same week), 10% additional score. The extra credit assignments are due each Friday and can be uploaed to <strong>Canvas</strong> in your preferred format (although we prefer jupyter-notebooks). First assignment is for week 35. Each weekly exercise set gives one additional point to the final score, see below on grading.</p>
</div>
<div class="section" id="grading">
<h2>Grading<a class="headerlink" href="#grading" title="Permalink to this headline"></a></h2>
@@ -1250,7 +1250,7 @@ doconce format html week34.do.txt --no_mako -->
<li><p>40-45 points: E</p></li>
<li><p>0-39 points: F-failed</p></li>
</ul>
<p>In addition you can get an extra 10% score for weekly assignments (10 in total and due each Friday). Each weekly assignment counts 1%.</p>
<p>In addition you can get an extra score for weekly assignments (10 in total and due each Friday). Each weekly assignment counts 1 point. As an example, this means that if your average after three projects is 88 points and you have handed in and gotten approved four weekly exercises, the total score is 88+4=92, which translates into an A.</p>
</div>
<div class="section" id="reading-material">
<h2>Reading material<a class="headerlink" href="#reading-material" title="Permalink to this headline"></a></h2>
@@ -1631,8 +1631,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.64018793 0.2356299 0.43392925 -0.96042508 -1.60108393 -1.54514209
-0.74631004 1.03310687 -0.59939312 1.96861187]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-2.28857501 -0.15124893 0.14889678 0.30020439 0.06404226 1.75377872
2.00089434 1.29432269 -1.10005449 -1.727278 ]
</pre></div>
</div>
</div>
@@ -1857,26 +1857,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.42876571 0.35984424 0.18269964 0.07859555 0.49648665 0.56686787
0.2700575 0.54622374 0.90911719 0.15597277]
[0.34609499 0.58196606 0.74995126 0.03325534 0.40837262 0.80946326
0.77124043 0.43334205 0.28433473 0.47868192]
[0.27700271 0.41842164 0.94589469 0.69127233 0.00320591 0.16325134
0.79375465 0.38875182 0.82084195 0.88364362]
[0.56676694 0.38743286 0.48417033 0.42203045 0.77669775 0.29259268
0.15953495 0.49940538 0.1724601 0.09995364]
[0.87386332 0.0377625 0.57677544 0.5733843 0.54672588 0.06199837
0.82029869 0.35292923 0.91210472 0.40167092]
[0.07747943 0.6727393 0.09899913 0.28767964 0.15806326 0.44082882
0.28031381 0.20716469 0.15912833 0.64056731]
[0.31072238 0.69966724 0.24647622 0.53895778 0.76206763 0.6088727
0.57406865 0.54993524 0.34010963 0.01842607]
[0.57146034 0.45017176 0.8729107 0.7047854 0.66289131 0.84495995
0.34636057 0.62765028 0.27252371 0.08101799]
[0.69275323 0.66979282 0.79161356 0.81112337 0.33788596 0.01617829
0.02971902 0.19718893 0.55152034 0.89686618]
[0.78944094 0.7451077 0.99972468 0.16816701 0.41739393 0.46117193
0.81990111 0.72452914 0.56749245 0.53452255]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.97135613 0.53380807 0.09477998 0.01440978 0.90228807 0.0182548
0.42738539 0.45048537 0.78345878 0.836085 ]
[0.236354 0.72795751 0.34650316 0.04210353 0.97161341 0.08756397
0.26799966 0.97593541 0.8237254 0.41600503]
[0.93018185 0.98904365 0.84737694 0.69686293 0.20944931 0.77908137
0.7671587 0.22928063 0.40359681 0.33283583]
[0.47748887 0.93575624 0.54398576 0.5361201 0.90604454 0.20975255
0.63130027 0.64704843 0.46139936 0.68129773]
[0.05195184 0.27853155 0.77359835 0.82843726 0.38970078 0.94759672
0.0130673 0.43650214 0.39863686 0.26939493]
[0.41639971 0.48681218 0.92241867 0.55628123 0.66634905 0.49230548
0.48938433 0.69609556 0.2822017 0.4716412 ]
[0.03512212 0.72850577 0.12049349 0.22981877 0.17707259 0.27911941
0.02222502 0.15536966 0.17346628 0.121771 ]
[0.69236842 0.5040323 0.85456249 0.35125829 0.36094261 0.88570382
0.65773892 0.69564736 0.56399576 0.36400724]
[0.032829 0.76577552 0.14465971 0.75191717 0.95344302 0.03126418
0.70153836 0.7842452 0.67957316 0.16655769]
[0.62146709 0.89292804 0.51619543 0.34836424 0.34968453 0.94246006
0.40763529 0.37757757 0.08704102 0.88168168]]
</pre></div>
</div>
</div>
@@ -1931,13 +1931,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.05915945740690532
4.428690538456245
0.48096529707360347
[[ 1.10641647 3.26697059 3.35823605]
[ 3.26697059 10.73492514 10.22297752]
[ 3.35823605 10.22297752 16.60792149]]
[25.20485165 0.09603196 3.14837948]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.07015414034641979
4.2266005204464925
-0.09002808747938586
[[ 1.06308305 3.28212616 3.04294775]
[ 3.28212616 11.07725229 9.47013955]
[ 3.04294775 9.47013955 12.16509204]]
[22.05708058 0.07211696 2.17622984]
</pre></div>
</div>
</div>
@@ -2162,7 +2162,7 @@ Name: Aragorn, dtype: object
<div class="cell_output docutils container">
<div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
<span class="ne">AttributeError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="nn">/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_15329/1326197715.py</span> in <span class="ni">?</span><span class="nt">()</span>
<span class="nn">/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_21437/1326197715.py</span> in <span class="ni">?</span><span class="nt">()</span>
<span class="ne">----&gt; </span><span class="mi">6</span> <span class="n">new_hobbit</span> <span class="o">=</span> <span class="p">{</span><span class="s1">&#39;First Name&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;Peregrin&quot;</span><span class="p">],</span>
<span class="g g-Whitespace"> </span><span class="mi">7</span> <span class="s1">&#39;Last Name&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;Took&quot;</span><span class="p">],</span>
<span class="g g-Whitespace"> </span><span class="mi">8</span> <span class="s1">&#39;Place of birth&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;Shire&quot;</span><span class="p">],</span>
File diff suppressed because it is too large Load Diff
@@ -24,7 +24,7 @@
#
# 4. On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.
#
# * [Link to recording of lecture TBA](https://youtu.be/)
# * [Link to recording of lecture](https://youtu.be/82IPtCrzbhs)
#
# The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.
@@ -102,7 +102,7 @@
#
# 3. Project 3: December 9 (available November 5, graded with feedback)
#
# Extra Credit (not mandatory), weekly exercise assignments, 10 in total (due Friday same week), 10% additional score. The extra credit assignments are due each Sunday and can be uploaed to **Canvas** in your preferred format (although we prefer jupyter-notebooks). First assignment is for week 35. Each weekly exercise set counts 1%.
# Extra Credit (not mandatory), weekly exercise assignments, 10 in total (due Friday same week), 10% additional score. The extra credit assignments are due each Friday and can be uploaed to **Canvas** in your preferred format (although we prefer jupyter-notebooks). First assignment is for week 35. Each weekly exercise set gives one additional point to the final score, see below on grading.
# ## Grading
#
@@ -122,7 +122,7 @@
#
# * 0-39 points: F-failed
#
# In addition you can get an extra 10% score for weekly assignments (10 in total and due each Friday). Each weekly assignment counts 1%.
# In addition you can get an extra score for weekly assignments (10 in total and due each Friday). Each weekly assignment counts 1 point. As an example, this means that if your average after three projects is 88 points and you have handed in and gotten approved four weekly exercises, the total score is 88+4=92, which translates into an A.
# ## Reading material
#