This commit is contained in:
Morten Hjorth-Jensen
2024-09-10 12:06:15 +02:00
parent 4a3985783f
commit 4e5c11dfa3
143 changed files with 2073 additions and 6207 deletions
+57 -30
View File
@@ -275,7 +275,34 @@ const thebe_selector_output = ".output, .cell_output"
</li>
<li class="toctree-l1">
<a class="reference internal" href="week36.html">
Week 36: Linear Rgeression and Statistical interpretations
Week 36: Linear Regression and Statistical interpretations
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek37.html">
Exercises week 37
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week37.html">
Week 37: Statistical interpretations and Resampling Methods
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek38.html">
Exercises week 38
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
Projects
</span>
</p>
<ul class="nav bd-sidenav">
<li class="toctree-l1">
<a class="reference internal" href="project1.html">
Project 1 on Machine Learning, deadline October 7 (midnight), 2024
</a>
</li>
</ul>
@@ -581,8 +608,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>[ 1.24155894 0.62765236 -0.87599676 -0.45422069 1.14966323 -0.13318759
-0.4768597 0.11400097 0.43442461 0.37504943]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 1.02808229 1.3194467 -1.8476874 -0.00537955 -0.47991892 -1.54490887
-0.04110474 0.70857635 -1.39855569 -0.11081083]
</pre></div>
</div>
</div>
@@ -803,26 +830,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.55796518 0.07643382 0.06644775 0.56823411 0.638618 0.06696769
0.89442642 0.33435469 0.24604925 0.88347937]
[0.28238649 0.00890669 0.61124231 0.21888121 0.05965043 0.30481195
0.09917303 0.29313228 0.26093249 0.72048339]
[0.43295279 0.60393882 0.85533937 0.75199355 0.02629596 0.13929376
0.14092044 0.86260426 0.10694828 0.48593774]
[0.26792572 0.40420245 0.15431202 0.51084243 0.74720185 0.60518617
0.64286758 0.63811548 0.24975055 0.2211108 ]
[0.83460016 0.95274315 0.63619296 0.59831212 0.40030144 0.9149137
0.61542957 0.30132427 0.26773827 0.59161025]
[0.17561484 0.22019267 0.12700133 0.49775827 0.13614217 0.6473418
0.88422263 0.32399798 0.77921992 0.55119373]
[0.16526258 0.11500354 0.3952007 0.88354703 0.13156239 0.51569907
0.48898864 0.53607935 0.41691626 0.05210975]
[0.41858649 0.64403731 0.08939489 0.33540382 0.08860792 0.91561163
0.06719214 0.17485935 0.16638104 0.73184876]
[0.09953815 0.79704553 0.41988809 0.7345483 0.75309603 0.3480159
0.58886887 0.76471048 0.60236121 0.49510364]
[0.9090666 0.24502113 0.52511377 0.97056672 0.95154558 0.3823545
0.48447474 0.53603254 0.91358186 0.8840785 ]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.04413243 0.8917148 0.26113912 0.87399194 0.30400113 0.35432563
0.05060379 0.65641173 0.77507653 0.83369175]
[0.71261809 0.93968601 0.91961463 0.79866484 0.81919129 0.73062648
0.1488598 0.24254071 0.39922082 0.24398826]
[0.09171886 0.59348521 0.078588 0.74613334 0.18094575 0.61883807
0.89408972 0.86978877 0.82802004 0.75433448]
[0.26715191 0.8905826 0.19852045 0.06432267 0.72771857 0.63030526
0.97272223 0.66289235 0.41744203 0.6663569 ]
[0.91114704 0.01530321 0.55020649 0.40140374 0.67100236 0.5847256
0.80410179 0.37055062 0.4729218 0.26775644]
[0.34271514 0.45193407 0.55542568 0.82242798 0.40266454 0.64713979
0.03873507 0.81506255 0.72848736 0.16118615]
[0.72602818 0.13825388 0.03701105 0.76807288 0.58493493 0.1441031
0.72744372 0.20755569 0.0317606 0.67313212]
[0.85005989 0.9485531 0.81622636 0.32003025 0.57914918 0.36482524
0.17934801 0.84726382 0.52397611 0.14829228]
[0.18510775 0.22528536 0.56977352 0.53105728 0.43962226 0.06444224
0.01772779 0.20912557 0.08839544 0.06984502]
[0.71469351 0.70474145 0.97836358 0.65475653 0.14213876 0.6816947
0.65082441 0.01573768 0.06410638 0.64425744]]
</pre></div>
</div>
</div>
@@ -882,13 +909,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.0694169556368514
4.182925111119767
0.519327774467847
[[ 0.92674248 2.77519276 2.60482174]
[ 2.77519276 9.52018478 7.80919738]
[ 2.60482174 7.80919738 15.48655388]]
[21.53541027 0.0988662 4.29920468]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.030645975175292262
4.057913350391706
0.6380763200092493
[[ 0.87584434 2.75131415 3.30124108]
[ 2.75131415 9.73994248 10.78758569]
[ 3.30124108 10.78758569 24.86174943]]
[31.05888195 0.08758013 4.33107417]
</pre></div>
</div>
</div>