update
This commit is contained in:
@@ -308,6 +308,21 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Week 39: Optimization and Gradient Methods
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week40.html">
|
||||
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>
|
||||
</ul>
|
||||
<p aria-level="2" class="caption" role="heading">
|
||||
<span class="caption-text">
|
||||
@@ -320,6 +335,11 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Project 1 on Machine Learning, deadline October 7 (midnight), 2024
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 4 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@@ -1683,8 +1703,8 @@ developed in the 1970s, namely EISPACK and LINPACK. We describe them shortly he
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-0.60588173 1.59884169 -1.56922102 -1.32068736 -0.21631786 0.37600869
|
||||
-0.14841322 -0.83655756 0.88809826 -0.85625134]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[ 1.51262599 0.63980912 -1.25680702 0.97680846 -1.33095972 -0.41396339
|
||||
-0.81478187 -0.6087346 2.11164003 -1.21061589]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1909,26 +1929,26 @@ lowercase letters for vectors and uppercase letters for matrices)</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.32641434 0.35731585 0.64796751 0.41146753 0.67561021 0.53312817
|
||||
0.3910042 0.88157423 0.4576811 0.48004784]
|
||||
[0.70469324 0.28496213 0.84862355 0.6988905 0.95890587 0.19849513
|
||||
0.89058005 0.51546825 0.88289263 0.06926192]
|
||||
[0.38198866 0.33000573 0.80740939 0.54935794 0.38934047 0.87740526
|
||||
0.45053025 0.27231287 0.7070883 0.7989356 ]
|
||||
[0.4198932 0.3727791 0.95400323 0.86459987 0.2666905 0.13564988
|
||||
0.97498674 0.9450635 0.6383903 0.57803254]
|
||||
[0.13896095 0.13663125 0.68826552 0.13729154 0.91672129 0.08266769
|
||||
0.88639567 0.16407038 0.36353321 0.81007381]
|
||||
[0.31849289 0.68735473 0.1767857 0.42873361 0.44454123 0.21333766
|
||||
0.94285762 0.72710494 0.37153115 0.21070843]
|
||||
[0.11930916 0.28021598 0.69566966 0.98770503 0.88653291 0.82161167
|
||||
0.90114639 0.7127128 0.97486336 0.26152075]
|
||||
[0.55386681 0.37919989 0.57468142 0.35980374 0.7150195 0.70499955
|
||||
0.9647801 0.63142399 0.97512176 0.97570392]
|
||||
[0.24613581 0.62573269 0.41487642 0.42095725 0.51447004 0.41869784
|
||||
0.34483955 0.55582742 0.85711016 0.17739525]
|
||||
[0.89533642 0.03382942 0.918785 0.79718864 0.64361375 0.4843772
|
||||
0.33532886 0.13164176 0.63209435 0.39279291]]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.1169204 0.51615779 0.40961688 0.169299 0.08009874 0.67925887
|
||||
0.8475889 0.92080432 0.07712724 0.2863391 ]
|
||||
[0.36161658 0.84155431 0.70135856 0.1576057 0.04686491 0.67511113
|
||||
0.29593305 0.22946401 0.78385675 0.20527785]
|
||||
[0.66575697 0.37717637 0.52407775 0.55094784 0.68989446 0.30013135
|
||||
0.39991048 0.20300793 0.25294371 0.91433102]
|
||||
[0.05080769 0.92665802 0.77039278 0.13455019 0.89692576 0.09621323
|
||||
0.48511333 0.8529175 0.32738537 0.12206812]
|
||||
[0.98108401 0.73397147 0.62288579 0.66003032 0.18712313 0.63307537
|
||||
0.2032806 0.17418673 0.06061276 0.92991181]
|
||||
[0.53480404 0.69484973 0.09821823 0.93019783 0.34478594 0.18646225
|
||||
0.11861803 0.25646067 0.55225408 0.84907109]
|
||||
[0.50352245 0.92678221 0.27037635 0.9833205 0.84985833 0.82844656
|
||||
0.34112554 0.9306628 0.89155606 0.24149532]
|
||||
[0.37137157 0.65751456 0.63693246 0.25068519 0.75674251 0.43724406
|
||||
0.34131583 0.74180248 0.63801791 0.76426396]
|
||||
[0.2311959 0.77594586 0.52606333 0.54222783 0.86434639 0.72364915
|
||||
0.4008393 0.68827947 0.56408898 0.68640031]
|
||||
[0.90137794 0.02599188 0.40848657 0.94114646 0.67199457 0.02124568
|
||||
0.32717946 0.59030403 0.59188296 0.81707832]]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1983,13 +2003,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.050315327923114654
|
||||
3.7539148284817965
|
||||
-0.09246293455466892
|
||||
[[ 0.90894281 2.8691787 2.58589719]
|
||||
[ 2.8691787 10.23481471 8.16535252]
|
||||
[ 2.58589719 8.16535252 12.44536331]]
|
||||
[20.33742926 0.08458591 3.16710567]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-0.04372067685794603
|
||||
3.777112373675558
|
||||
-0.028188673105960467
|
||||
[[ 1.0680225 3.36841864 2.42592679]
|
||||
[ 3.36841864 11.49312535 7.50233673]
|
||||
[ 2.42592679 7.50233673 7.94272259]]
|
||||
[18.418656 0.05992237 2.02529207]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2214,7 +2234,7 @@ Name: Aragorn, dtype: object
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output traceback highlight-ipythontb notranslate"><div class="highlight"><pre><span></span><span class="gt">---------------------------------------------------------------------------</span>
|
||||
<span class="ne">AttributeError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
|
||||
<span class="nn">/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_95519/1326197715.py</span> in <span class="ni">?</span><span class="nt">()</span>
|
||||
<span class="nn">/var/folders/td/3yk470mj5p931p9dtkk0y6jw0000gn/T/ipykernel_22556/1326197715.py</span> in <span class="ni">?</span><span class="nt">()</span>
|
||||
<span class="ne">----> </span><span class="mi">6</span> <span class="n">new_hobbit</span> <span class="o">=</span> <span class="p">{</span><span class="s1">'First Name'</span><span class="p">:</span> <span class="p">[</span><span class="s2">"Peregrin"</span><span class="p">],</span>
|
||||
<span class="g g-Whitespace"> </span><span class="mi">7</span> <span class="s1">'Last Name'</span><span class="p">:</span> <span class="p">[</span><span class="s2">"Took"</span><span class="p">],</span>
|
||||
<span class="g g-Whitespace"> </span><span class="mi">8</span> <span class="s1">'Place of birth'</span><span class="p">:</span> <span class="p">[</span><span class="s2">"Shire"</span><span class="p">],</span>
|
||||
|
||||
Reference in New Issue
Block a user