typo in exercises week 37

This commit is contained in:
Morten Hjorth-Jensen
2025-09-02 05:54:12 +02:00
parent b62dc358d7
commit c8aa957670
13 changed files with 1169 additions and 1163 deletions
@@ -449,7 +449,7 @@ Subtract the mean and divide by the standard deviation for each feature.</p>
term, the data is shifted such that the intercept is effectively 0
. (In practice, one could include an intercept in the model and not
penalize it, but here we simplify by centering.)
Choose <span class="math notranslate nohighlight">\(n=100\)</span> data points and set up <span class="math notranslate nohighlight">\(\boldsymbol{x}, \)</span>\boldsymbol{y} and the design matrix <span class="math notranslate nohighlight">\(\boldsymbol{X}\)</span>.</p>
Choose <span class="math notranslate nohighlight">\(n=100\)</span> data points and set up <span class="math notranslate nohighlight">\(\boldsymbol{x}, \)</span>\boldsymbol{y}<span class="math notranslate nohighlight">\( and the design matrix \)</span>\boldsymbol{X}$.</p>
<div class="cell docutils container">
<div class="cell_input docutils container">
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span># Standardize features (zero mean, unit variance for each feature)