update
This commit is contained in:
@@ -313,6 +313,26 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Week 40: Gradient descent methods (continued) and start Neural networks
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="exercisesweek41.html">
|
||||
Exercises week 41
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week41.html">
|
||||
Week 41 Neural networks and constructing a neural network code
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="exercisesweek42.html">
|
||||
Exercises week 42
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week42.html">
|
||||
Week 42 Constructing a Neural Network code with introduction to Tensor flow
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p aria-level="2" class="caption" role="heading">
|
||||
<span class="caption-text">
|
||||
@@ -325,6 +345,11 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Project 1 on Machine Learning, deadline October 9 (midnight), 2023
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -1182,6 +1207,10 @@ Based on this we can then define the accuracy score as the sum of correctly pred
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(426, 30)
|
||||
(143, 30)
|
||||
Test set accuracy with Logistic Regression: 0.94
|
||||
Test set accuracy Logistic Regression with scaled data: 0.96
|
||||
[1. 1. 1. 1. 1. 1.
|
||||
1. 1. 0.92857143 0.92857143]
|
||||
Test set accuracy with Logistic Regression and scaled data: 0.96
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/sklearn/linear_model/_logistic.py:814: ConvergenceWarning: lbfgs failed to converge (status=1):
|
||||
@@ -1194,15 +1223,9 @@ Please also refer to the documentation for alternative solver options:
|
||||
n_iter_i = _check_optimize_result(
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Test set accuracy Logistic Regression with scaled data: 0.96
|
||||
[1. 1. 1. 1. 1. 1.
|
||||
1. 1. 0.92857143 0.92857143]
|
||||
Test set accuracy with Logistic Regression and scaled data: 0.96
|
||||
</pre></div>
|
||||
</div>
|
||||
<img alt="_images/chapter4_64_2.png" src="_images/chapter4_64_2.png" />
|
||||
<img alt="_images/chapter4_64_3.png" src="_images/chapter4_64_3.png" />
|
||||
<img alt="_images/chapter4_64_4.png" src="_images/chapter4_64_4.png" />
|
||||
<img alt="_images/chapter4_64_5.png" src="_images/chapter4_64_5.png" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user