This commit is contained in:
Morten Hjorth-Jensen
2024-09-22 21:21:59 +02:00
parent 0a6ba7c08d
commit 80f0f2ffab
102 changed files with 18315 additions and 2027 deletions
+41 -31
View File
@@ -298,6 +298,16 @@ const thebe_selector_output = ".output, .cell_output"
Week 38: Logistic Regression and Optimization
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="exercisesweek39.html">
Exercises week 39
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week39.html">
Week 39: Optimization and Gradient Methods
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -985,27 +995,27 @@ uncorrelated.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.9841870203276504
[[ 3.57492326 2.52888979 5.61382924 2.32419549 4.2986082 3.83718206
4.7658599 4.76527062 8.55196383 8.05747369]
[ 2.52888979 1.78892891 3.97120565 1.64412879 3.0408223 2.71441086
3.37135473 3.37093787 6.04963309 5.69983227]
[ 5.61382924 3.97120565 8.81559586 3.64976691 6.75025744 6.02566356
7.48399942 7.48307405 13.42945319 12.65293772]
[ 2.32419549 1.64412879 3.64976691 1.51104913 2.79469098 2.49470005
3.09846933 3.09808622 5.55996153 5.23847441]
[ 4.2986082 3.0408223 6.75025744 2.79469098 5.16879134 4.61395701
5.73063053 5.72992196 10.28316949 9.68857788]
[ 3.83718206 2.71441086 6.02566356 2.49470005 4.61395701 4.11868033
5.11548661 5.1148541 9.1793417 8.64857542]
[ 4.7658599 3.37135473 7.48399942 3.09846933 5.73063053 5.11548661
6.35354073 6.35275513 11.40093324 10.74171049]
[ 4.76527062 3.37093787 7.48307405 3.09808622 5.72992196 5.1148541
6.35275513 6.35196964 11.39952356 10.74038232]
[ 8.55196383 6.04963309 13.42945319 5.55996153 10.28316949 9.1793417
11.40093324 11.39952356 20.4580854 19.2751616 ]
[ 8.05747369 5.69983227 12.65293772 5.23847441 9.68857788 8.64857542
10.74171049 10.74038232 19.2751616 18.16063661]]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>3.613893902124586
[[18.33217312 13.09829902 1.98271562 18.53534008 -0.88860399 18.12957454
7.18043393 1.59698459 17.87186187 10.81979166]
[13.09829902 9.35870701 1.41664613 13.24346138 -0.63490568 12.95354276
5.13040489 1.14104212 12.76940759 7.73071831]
[ 1.98271562 1.41664613 0.21444055 2.00468914 -0.09610694 1.96080358
0.77659961 0.17272182 1.93293067 1.17021424]
[18.53534008 13.24346138 2.00468914 18.74075864 -0.89845198 18.33049619
7.26001134 1.61468323 18.0699274 10.93970238]
[-0.88860399 -0.63490568 -0.09610694 -0.89845198 0.04307275 -0.87878356
-0.3480527 -0.07740964 -0.86629161 -0.52446101]
[18.12957454 12.95354276 1.96080358 18.33049619 -0.87878356 17.92921498
7.10107914 1.57933547 17.67435043 10.7002164 ]
[ 7.18043393 5.13040489 0.77659961 7.26001134 -0.3480527 7.10107914
2.81246697 0.62551462 7.000137 4.23794815]
[ 1.59698459 1.14104212 0.17272182 1.61468323 -0.07740964 1.57933547
0.62551462 0.13911934 1.55688514 0.94255277]
[17.87186187 12.76940759 1.93293067 18.0699274 -0.86629161 17.67435043
7.000137 1.55688514 17.42310878 10.54811237]
[10.81979166 7.73071831 1.17021424 10.93970238 -0.52446101 10.7002164
4.23794815 0.94255277 10.54811237 6.38592549]]
</pre></div>
</div>
</div>
@@ -1273,15 +1283,15 @@ more practically oriented methods like the blocking technique.</p>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.07950356694388497
4.124228866018077
0.3908470004999506
1.2475908482537097 11.548432150659993 27.870704644539707
3.6568686180915178 4.6156409232714415 13.395980256477532
[[ 1.24759085 3.65686862 4.61564092]
[ 3.65686862 11.54843215 13.39598026]
[ 4.61564092 13.39598026 27.87070464]]
[36.35957915 0.07241855 4.23472994]
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.0973900819831327
4.559791959661649
0.6333349473431832
1.1064601390492845 11.271260217275557 17.072290639572326
3.390334838933238 3.4951301940723654 11.033233504714921
[[ 1.10646014 3.39033484 3.49513019]
[ 3.39033484 11.27126022 11.0332335 ]
[ 3.49513019 11.0332335 17.07229064]]
[26.5020612 0.075885 2.8720648]
</pre></div>
</div>
</div>
@@ -1611,7 +1621,7 @@ assumption for approximating <span class="math notranslate nohighlight">\(\sigma
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.05577845931438246 1.0303586629618948
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.02214409916811925 1.073576975500551
</pre></div>
</div>
<img alt="_images/statistics_188_1.png" src="_images/statistics_188_1.png" />