update
This commit is contained in:
@@ -242,6 +242,33 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p aria-level="2" class="caption" role="heading">
|
||||
<span class="caption-text">
|
||||
Weekly material, notes and exercises
|
||||
</span>
|
||||
</p>
|
||||
<ul class="nav bd-sidenav">
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="exercisesweek34.html">
|
||||
Exercises week 34
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week34.html">
|
||||
Week 34: Introduction to the course, Logistics and Practicalities
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="exercisesweek35.html">
|
||||
Exercises week 35
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week35.html">
|
||||
Week 35: From Ordinary Linear Regression to Ridge and Lasso Regression
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</nav> <!-- To handle the deprecated key -->
|
||||
@@ -544,8 +571,8 @@ matrices and vectors.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-1.25902112 -0.51174395 -0.29276615 1.6489862 -1.69115646 1.62620724
|
||||
0.65444431 -1.35346808 -0.20316225 1.12630042]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[-0.38763091 -2.70501534 -0.3581571 -0.96251494 -1.26223899 0.35309734
|
||||
2.28186376 -1.85104809 -0.37114298 -1.20893188]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -766,26 +793,26 @@ as (recall that we user lowercase letters for vectors and uppercase letters for
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell_output docutils container">
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.26185107 0.82454365 0.97434186 0.56556315 0.58187347 0.72509099
|
||||
0.19158446 0.3263505 0.0536097 0.90066122]
|
||||
[0.34678929 0.66981186 0.44152248 0.20299677 0.1614891 0.68485505
|
||||
0.43333886 0.45741697 0.31311243 0.88001352]
|
||||
[0.29661191 0.05268304 0.98153145 0.9007164 0.69481746 0.35319678
|
||||
0.88063413 0.06319374 0.06695337 0.75350216]
|
||||
[0.15089627 0.58671946 0.13734823 0.72394787 0.38019139 0.422275
|
||||
0.35821426 0.49282737 0.19144544 0.84653115]
|
||||
[0.38637915 0.8049181 0.49672291 0.98699753 0.8192798 0.05850532
|
||||
0.00152188 0.13131825 0.31229747 0.40183706]
|
||||
[0.8705211 0.1472032 0.22567203 0.55202922 0.62683307 0.41566661
|
||||
0.23659936 0.85086629 0.85120833 0.79135075]
|
||||
[0.31377492 0.38629844 0.33956555 0.64064128 0.42028578 0.58474054
|
||||
0.71760245 0.51732028 0.31211671 0.35894575]
|
||||
[0.78286771 0.72594302 0.22821344 0.23962594 0.48739546 0.59190877
|
||||
0.8557822 0.44830642 0.90595152 0.9626883 ]
|
||||
[0.34498451 0.90694878 0.15442554 0.43560678 0.89045167 0.21654926
|
||||
0.00355118 0.18695705 0.61123608 0.7386068 ]
|
||||
[0.30813073 0.26549135 0.96812218 0.94321297 0.81592628 0.60980325
|
||||
0.4284066 0.8792323 0.92968793 0.82073684]]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[[0.78459267 0.75453081 0.05363779 0.57350724 0.69764852 0.65795279
|
||||
0.51507839 0.20461136 0.38788697 0.96496641]
|
||||
[0.25028968 0.96081861 0.18931988 0.51108791 0.30337713 0.43036842
|
||||
0.52839842 0.15321987 0.78561443 0.09030825]
|
||||
[0.10097956 0.50584526 0.34989509 0.55626454 0.69154964 0.2895238
|
||||
0.13393141 0.15503141 0.26015755 0.42902155]
|
||||
[0.25789255 0.9492866 0.90252116 0.904221 0.51933924 0.14432948
|
||||
0.54445121 0.02699523 0.18657863 0.971688 ]
|
||||
[0.13392097 0.27801122 0.50931378 0.04234339 0.22442417 0.44065609
|
||||
0.74943449 0.42451192 0.33736485 0.97952271]
|
||||
[0.95824108 0.59950055 0.91346044 0.58042237 0.13228567 0.31519573
|
||||
0.12427889 0.64736858 0.60236782 0.18036103]
|
||||
[0.95911004 0.82027884 0.27547877 0.84317815 0.89842298 0.68322599
|
||||
0.02377668 0.39943328 0.00162091 0.0525221 ]
|
||||
[0.94076632 0.88335933 0.75492292 0.7860324 0.41923956 0.86181269
|
||||
0.45979894 0.44190304 0.07829878 0.00458014]
|
||||
[0.42915006 0.68127341 0.23875722 0.31988705 0.54956992 0.24801014
|
||||
0.65335632 0.97713364 0.05635863 0.12160173]
|
||||
[0.93386901 0.74935095 0.96534137 0.98400474 0.98581925 0.30313128
|
||||
0.41386599 0.88450476 0.87099757 0.22566121]]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -845,13 +872,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.2246674023625205
|
||||
3.345687771875474
|
||||
-0.6084611325305795
|
||||
[[ 1.17709473 3.57810065 3.67258699]
|
||||
[ 3.57810065 11.8548082 11.12152272]
|
||||
[ 3.67258699 11.12152272 15.62249103]]
|
||||
[26.06969872 0.07319349 2.51150176]
|
||||
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>0.0626202708457115
|
||||
4.327883798133277
|
||||
0.3178411477108273
|
||||
[[ 1.01422853 3.21909039 2.82750687]
|
||||
[ 3.21909039 11.42694395 9.22887861]
|
||||
[ 2.82750687 9.22887861 17.2086376 ]]
|
||||
[24.72855434 0.09533574 4.82592 ]
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user