update on jupyter-book

This commit is contained in:
Morten Hjorth-Jensen
2024-09-17 14:17:00 +02:00
parent 999bca6d69
commit 8afe465b5f
95 changed files with 2624 additions and 1515 deletions
+10 -5
View File
@@ -293,6 +293,11 @@ const thebe_selector_output = ".output, .cell_output"
Exercises week 38
</a>
</li>
<li class="toctree-l1">
<a class="reference internal" href="week38.html">
Week 38: Logistic Regression and Optimization
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
@@ -1021,11 +1026,11 @@ example of the functionality of <strong>Scikit-Learn</strong>.</p>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The intercept alpha:
[1.99194201]
[1.95647867]
Coefficient beta :
[[4.85108001]]
Mean squared error: 0.28
Variance score: 0.87
[[5.05401912]]
Mean squared error: 0.25
Variance score: 0.90
Mean squared log error: 0.01
Mean absolute error: 0.43
</pre></div>
@@ -1127,7 +1132,7 @@ a linear <span class="math notranslate nohighlight">\(x\)</span>-dependence we s
</div>
<div class="cell_output docutils container">
<img alt="_images/chapter1_33_0.png" src="_images/chapter1_33_0.png" />
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.005
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.004999999999999991
</pre></div>
</div>
</div>