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
+11 -4
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">
@@ -752,9 +757,9 @@ predicting the target features of query instances is as follows:</p>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>2nd degree coefficients:
zero power: -2.767367275553824
first power: 0.024011020121022356
second power: -0.00021270681344726395
zero power: -1.4725246793626128
first power: -0.08935132374099551
second power: 0.00034688149480437765
</pre></div>
</div>
<img alt="_images/chapter6_1_1.png" src="_images/chapter6_1_1.png" />
@@ -1621,7 +1626,9 @@ Test set accuracy with Logistic Regression: 0.94
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Test set accuracy with SVM: 0.63
Test set accuracy with Decision Trees: 0.90
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Test set accuracy with Decision Trees: 0.90
Test set accuracy Logistic Regression with scaled data: 0.96
Test set accuracy SVM with scaled data: 0.96
Test set accuracy with Decision Trees and scaled data: 0.89