From 07d63b0596267ca24acb7bb50f6ad883e43d6e9e Mon Sep 17 00:00:00 2001 From: Morten Hjorth-Jensen Date: Wed, 22 Sep 2021 11:17:51 +0200 Subject: [PATCH] cleaning up typos --- doc/pub/week38/html/._week38-bs012.html | 4 ++-- doc/pub/week38/html/._week38-bs013.html | 2 +- doc/pub/week38/html/week38-reveal.html | 6 +++--- doc/pub/week38/html/week38-solarized.html | 6 +++--- doc/pub/week38/html/week38.html | 6 +++--- doc/pub/week38/ipynb/ipynb-week38-src.tar.gz | Bin 193 -> 193 bytes doc/pub/week38/ipynb/week38.ipynb | 6 +++--- doc/src/week38/week38.do.txt | 6 +++--- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/pub/week38/html/._week38-bs012.html b/doc/pub/week38/html/._week38-bs012.html index 63e3ae005..1bb7caa48 100644 --- a/doc/pub/week38/html/._week38-bs012.html +++ b/doc/pub/week38/html/._week38-bs012.html @@ -457,7 +457,7 @@ If we assume that every column of \( \boldsymbol{X} \) is centered, which we can the sum \( \sum_{i=0}^{n-1} X_{ij} \) can be rewritten as $$ -\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, +\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}\right) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, $$ resulting in @@ -476,7 +476,7 @@ $$ \beta_0 = \frac{1}{n}\sum_{i=0}^{n-1} y_i = \overline{\boldsymbol{y}}, $$ -the average value of \( \boldsymbol{y] \). +the average value of \( \boldsymbol{y} \).

Replacing \( y_i \) with \( y_i - \beta_0 = y_i - \overline{\boldsymbol{y}} \) in the cost function will give us (in vector-matrix disguise) diff --git a/doc/pub/week38/html/._week38-bs013.html b/doc/pub/week38/html/._week38-bs013.html index de10148b5..659ea337e 100644 --- a/doc/pub/week38/html/._week38-bs013.html +++ b/doc/pub/week38/html/._week38-bs013.html @@ -443,7 +443,7 @@ y = np.e Maxpolydegree = 20 X = np.zeros((n,Maxpolydegree)) -We include explicitely the intercpt column +#We include explicitely the intercept column X[:,0] = 1.0 for degree in range(Maxpolydegree): diff --git a/doc/pub/week38/html/week38-reveal.html b/doc/pub/week38/html/week38-reveal.html index c2f081444..77dfcb1bd 100644 --- a/doc/pub/week38/html/week38-reveal.html +++ b/doc/pub/week38/html/week38-reveal.html @@ -649,7 +649,7 @@ the sum \( \sum_{i=0}^{n-1} X_{ij} \) can be rewritten as

 
$$ -\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, +\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}\right) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, $$

 
@@ -675,7 +675,7 @@ $$ $$

 
-the average value of \( \boldsymbol{y] \). +the average value of \( \boldsymbol{y} \).

Replacing \( y_i \) with \( y_i - \beta_0 = y_i - \overline{\boldsymbol{y}} \) in the cost function will give us (in vector-matrix disguise) @@ -725,7 +725,7 @@ y = np.exp(-x**2) + 20 X = np.zeros((n,Maxpolydegree)) -We include explicitely the intercpt column +#We include explicitely the intercept column X[:,0] = 1.0 for degree in range(Maxpolydegree): diff --git a/doc/pub/week38/html/week38-solarized.html b/doc/pub/week38/html/week38-solarized.html index 748ba6002..65b61ff31 100644 --- a/doc/pub/week38/html/week38-solarized.html +++ b/doc/pub/week38/html/week38-solarized.html @@ -799,7 +799,7 @@ If we assume that every column of \( \boldsymbol{X} \) is centered, which we can the sum \( \sum_{i=0}^{n-1} X_{ij} \) can be rewritten as $$ -\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, +\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}\right) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, $$ resulting in @@ -818,7 +818,7 @@ $$ \beta_0 = \frac{1}{n}\sum_{i=0}^{n-1} y_i = \overline{\boldsymbol{y}}, $$ -the average value of \( \boldsymbol{y] \). +the average value of \( \boldsymbol{y} \).

Replacing \( y_i \) with \( y_i - \beta_0 = y_i - \overline{\boldsymbol{y}} \) in the cost function will give us (in vector-matrix disguise) @@ -866,7 +866,7 @@ y = np.exp(-x**2) + 20 X = np.zeros((n,Maxpolydegree)) -We include explicitely the intercpt column +#We include explicitely the intercept column X[:,0] = 1.0 for degree in range(Maxpolydegree): diff --git a/doc/pub/week38/html/week38.html b/doc/pub/week38/html/week38.html index d229b1d1c..04534cf80 100644 --- a/doc/pub/week38/html/week38.html +++ b/doc/pub/week38/html/week38.html @@ -804,7 +804,7 @@ If we assume that every column of \( \boldsymbol{X} \) is centered, which we can the sum \( \sum_{i=0}^{n-1} X_{ij} \) can be rewritten as $$ -\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, +\sum_{i=0}^{n-1} \left(X_{ij} - \frac{1}{n}\sum_{i=0}^{n-1} X_{ij}\right) = \sum_{i=0}^{n-1} X_{ij} - \sum_{i=0}^{n-1} \frac{1}{n} \sum_{i=0}^{n-1}X_{ij}, $$ resulting in @@ -823,7 +823,7 @@ $$ \beta_0 = \frac{1}{n}\sum_{i=0}^{n-1} y_i = \overline{\boldsymbol{y}}, $$ -the average value of \( \boldsymbol{y] \). +the average value of \( \boldsymbol{y} \).

Replacing \( y_i \) with \( y_i - \beta_0 = y_i - \overline{\boldsymbol{y}} \) in the cost function will give us (in vector-matrix disguise) @@ -871,7 +871,7 @@ y = np.e Maxpolydegree = 20 X = np.zeros((n,Maxpolydegree)) -We include explicitely the intercpt column +#We include explicitely the intercept column X[:,0] = 1.0 for degree in range(Maxpolydegree): diff --git a/doc/pub/week38/ipynb/ipynb-week38-src.tar.gz b/doc/pub/week38/ipynb/ipynb-week38-src.tar.gz index ebfa58c4b4831b469cde2f380bb04995879a47dc..bce3b26665d476e9e1ce4c5606b96261026891d0 100644 GIT binary patch literal 193 zcmV;y06za8iwFR+^h#j>1MSaC3c@fD2H>uHia9|^(k68)*o6y0#0#V}wXrs-Ns9LN z_5r$5+!PV=ZGMIshM7aQ-t4l--CeL4gb+&-7&B#bN<`**f-wc0U_xk02qS=SObH7B zEqBsOXB{`gDNS`2$_n*vZWt@e4}0cU;F*8oSV;@peeWu*Kxrp(t!uamQOB!Dw!O-s v(87)_Fyh)tBY>+Ocu`0vwc?ksHTq5ad0%?~oNVFV00;m8x9wJv literal 193 zcmV;y06za8iwFR5^Gaa=1MSbv3W7io2XN0m#XN!Rs;gatJah;mdVv+k+{|6uT`Au_ zKcG%U7l~khmp{V{!^|ODZ+2N=@77xkAtZ@o7&A@Slq8(%38f5ZOv8|+lqD1hjaZm^ zK$bh{r8Ac6;gqI2qckYr%?)E^`C-re3Ow^q94ld9yYFqKBuHg3SE_~^VjZml(e^Tj vLZKO3pz+!Xjlg9OyeNbfO7e@}YIV}QF@gW