From 5456959e12aecc2c01d1a2563981aee77f8c296a Mon Sep 17 00:00:00 2001 From: mhjensen Date: Thu, 2 Jan 2020 10:58:08 +0100 Subject: [PATCH] typos --- doc/pub/DimRed/html/._DimRed-bs018.html | 5 +++-- doc/pub/DimRed/html/DimRed-reveal.html | 5 +++-- doc/pub/DimRed/html/DimRed-solarized.html | 5 +++-- doc/pub/DimRed/html/DimRed.html | 5 +++-- doc/pub/DimRed/ipynb/DimRed.ipynb | 5 +++-- doc/pub/DimRed/ipynb/ipynb-DimRed-src.tar.gz | Bin 191 -> 191 bytes doc/pub/DimRed/pdf/DimRed-minted.pdf | Bin 263781 -> 263781 bytes doc/src/DimRed/DimRed.do.txt | 5 +++-- 8 files changed, 18 insertions(+), 12 deletions(-) diff --git a/doc/pub/DimRed/html/._DimRed-bs018.html b/doc/pub/DimRed/html/._DimRed-bs018.html index da98177dc..99819576f 100644 --- a/doc/pub/DimRed/html/._DimRed-bs018.html +++ b/doc/pub/DimRed/html/._DimRed-bs018.html @@ -228,6 +228,7 @@ Note that the function multivariate returns also the covariance discussed
import numpy as np
 import pandas as pd
+import matplotlib as plt
 from IPython.display import display
 n = 10000
 mean = (-1, 2)
@@ -298,8 +299,8 @@ Our own code here is not very elegant and asks for improvements.
 

-

# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,[0]]
-y = X_centered[:,[1]]
+
# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,0]
+y = X_centered[:,1]
 Cov = np.zeros((2,2))
 Cov[0,1] = np.sum(x.T@y)/(n-1.0)
 Cov[0,0] = np.sum(x.T@x)/(n-1.0)
diff --git a/doc/pub/DimRed/html/DimRed-reveal.html b/doc/pub/DimRed/html/DimRed-reveal.html
index 570cd0c98..081966b55 100644
--- a/doc/pub/DimRed/html/DimRed-reveal.html
+++ b/doc/pub/DimRed/html/DimRed-reveal.html
@@ -1034,6 +1034,7 @@ Note that the function multivariate returns also the covariance discussed
 
 
import numpy as np
 import pandas as pd
+import matplotlib as plt
 from IPython.display import display
 n = 10000
 mean = (-1, 2)
@@ -1110,8 +1111,8 @@ Our own code here is not very elegant and asks for improvements.
 

-

# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,[0]]
-y = X_centered[:,[1]]
+
# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,0]
+y = X_centered[:,1]
 Cov = np.zeros((2,2))
 Cov[0,1] = np.sum(x.T@y)/(n-1.0)
 Cov[0,0] = np.sum(x.T@x)/(n-1.0)
diff --git a/doc/pub/DimRed/html/DimRed-solarized.html b/doc/pub/DimRed/html/DimRed-solarized.html
index 3fd9e4333..20dd9cedb 100644
--- a/doc/pub/DimRed/html/DimRed-solarized.html
+++ b/doc/pub/DimRed/html/DimRed-solarized.html
@@ -1014,6 +1014,7 @@ Note that the function multivariate returns also the covariance discussed
 
 
import numpy as np
 import pandas as pd
+import matplotlib as plt
 from IPython.display import display
 n = 10000
 mean = (-1, 2)
@@ -1084,8 +1085,8 @@ Our own code here is not very elegant and asks for improvements.
 

-

# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,[0]]
-y = X_centered[:,[1]]
+
# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,0]
+y = X_centered[:,1]
 Cov = np.zeros((2,2))
 Cov[0,1] = np.sum(x.T@y)/(n-1.0)
 Cov[0,0] = np.sum(x.T@x)/(n-1.0)
diff --git a/doc/pub/DimRed/html/DimRed.html b/doc/pub/DimRed/html/DimRed.html
index 728373253..25557ca0c 100644
--- a/doc/pub/DimRed/html/DimRed.html
+++ b/doc/pub/DimRed/html/DimRed.html
@@ -1019,6 +1019,7 @@ Note that the function multivariate returns also the covariance discussed
 
 
import numpy as np
 import pandas as pd
+import matplotlib as plt
 from IPython.display import display
 n = 10000
 mean = (-1, 2)
@@ -1089,8 +1090,8 @@ Our own code here is not very elegant and asks for improvements.
 

-

# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,[0]]
-y = X_centered[:,[1]]
+
# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,0]
+y = X_centered[:,1]
 Cov = np.zeros((2,2))
 Cov[0,1] = np.sum(x.T@y)/(n-1.0)
 Cov[0,0] = np.sum(x.T@x)/(n-1.0)
diff --git a/doc/pub/DimRed/ipynb/DimRed.ipynb b/doc/pub/DimRed/ipynb/DimRed.ipynb
index ae921523d..8dd93a16a 100644
--- a/doc/pub/DimRed/ipynb/DimRed.ipynb
+++ b/doc/pub/DimRed/ipynb/DimRed.ipynb
@@ -1107,6 +1107,7 @@
    "source": [
     "import numpy as np\n",
     "import pandas as pd\n",
+    "import matplotlib as plt\n",
     "from IPython.display import display\n",
     "n = 10000\n",
     "mean = (-1, 2)\n",
@@ -1239,8 +1240,8 @@
    },
    "outputs": [],
    "source": [
-    "# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,[0]]\n",
-    "y = X_centered[:,[1]]\n",
+    "# extract the relevant columns from the centered design matrix of dim n x 2                                                      x = X_centered[:,0]\n",
+    "y = X_centered[:,1]\n",
     "Cov = np.zeros((2,2))\n",
     "Cov[0,1] = np.sum(x.T@y)/(n-1.0)\n",
     "Cov[0,0] = np.sum(x.T@x)/(n-1.0)\n",
diff --git a/doc/pub/DimRed/ipynb/ipynb-DimRed-src.tar.gz b/doc/pub/DimRed/ipynb/ipynb-DimRed-src.tar.gz
index 2b31e7165ed573b3201dc2084ff7ab2e5bcf0f28..3f28ba9d71577b3c1c9674998de00ed53fc9ccce 100644
GIT binary patch
literal 191
zcmV;w06_mAiwFRxz71Xg1MSaC3WG2Z24L5oVoo55(YP+?!bPD-FAzzrX=`GW2=(^$
z0qv@#8!3f+o1bBZVWui}`M!wU-36OL2+<^gIWw9riQ=_hV4MOb6cIwQILQEELQ)z4
z+U}&6!8&H9Q`)moR;agg(^%7d*t5O@&-@d|R$3?zqieMSrJbm?zCbR!O7KYbqpE>x
tVdoYYaT}x&z|;tgbLpg3>>Bn)pA7446#n`d&+|O*YY$i$;8*|%001^YSOx$9

literal 191
zcmV;w06_mAiwFR+y$xOf1MSaC3c@fD2H>uHia9|^nl`S5cHu&h;ssKYny5``l7hXx
zeSoeMH${Yeo1bBZVWuj##lB4Z-AAiI2+=HqDK|8q6QxT%!#D>_C?bSVN>f0Xkeo(<
z);sB?cb?ht6nPff3H^3%9BY~ndzM$=nSbIam4n@3@X~0|#*5mR3lyrY1W!~q=o+{Y
tZfb!Qw_aHROb@^~S6&&-u5oA0$+FfZ@vol=f*=UK_5i{m&K>{=008NlRV)Ai

diff --git a/doc/pub/DimRed/pdf/DimRed-minted.pdf b/doc/pub/DimRed/pdf/DimRed-minted.pdf
index 99b0277f7abb23f51da5f976b2added4cc835ea3..5b575e4c297647fdb2d6fb155a7d3408d9f27374 100644
GIT binary patch
delta 134
zcmaFbBk;6GprM7ag=q`3{x>yqQ*&(tLv;fKbxkgP-~1Gp#FA764HqjT10w?iLjxm2
z15==q?V;b8TX>xiR6*@PmT

delta 134
zcmaFbBk;6GprM7ag=q`3{x>yaQzLByLv;fKbxkgP-~1Gp#FA764HqjT10w?iLjxm2
z15==q?V;b8TX>x