diff --git a/doc/pub/svm/html/._svm-bs000.html b/doc/pub/svm/html/._svm-bs000.html
index 43ca73433..a030a0dc1 100644
--- a/doc/pub/svm/html/._svm-bs000.html
+++ b/doc/pub/svm/html/._svm-bs000.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -174,7 +172,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 25, 2019
+Nov 26, 2019
@@ -198,7 +196,7 @@ MathJax.Hub.Config({
9
10
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs001.html b/doc/pub/svm/html/._svm-bs001.html
index 5775d787d..90d33e7a8 100644
--- a/doc/pub/svm/html/._svm-bs001.html
+++ b/doc/pub/svm/html/._svm-bs001.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -202,7 +200,7 @@ unlikely that we can separate classes easily by say straight lines.
10
11
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs002.html b/doc/pub/svm/html/._svm-bs002.html
index 3899f4b96..4157694c3 100644
--- a/doc/pub/svm/html/._svm-bs002.html
+++ b/doc/pub/svm/html/._svm-bs002.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -257,7 +255,7 @@ plt.show()
11
12
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs003.html b/doc/pub/svm/html/._svm-bs003.html
index 5c6d9f26b..4833a3e47 100644
--- a/doc/pub/svm/html/._svm-bs003.html
+++ b/doc/pub/svm/html/._svm-bs003.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -202,7 +200,7 @@ $$
12
13
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs004.html b/doc/pub/svm/html/._svm-bs004.html
index 79151bb47..227273f2f 100644
--- a/doc/pub/svm/html/._svm-bs004.html
+++ b/doc/pub/svm/html/._svm-bs004.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -214,7 +212,7 @@ When we try to separate hyperplanes, if it exists, we can use it to construct a
13
14
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs005.html b/doc/pub/svm/html/._svm-bs005.html
index a8352e871..e5c7b3dab 100644
--- a/doc/pub/svm/html/._svm-bs005.html
+++ b/doc/pub/svm/html/._svm-bs005.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -200,7 +198,7 @@ for our data sample.
14
15
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs006.html b/doc/pub/svm/html/._svm-bs006.html
index d8b4917e9..921f7aa0c 100644
--- a/doc/pub/svm/html/._svm-bs006.html
+++ b/doc/pub/svm/html/._svm-bs006.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -196,7 +194,7 @@ $$
15
16
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs007.html b/doc/pub/svm/html/._svm-bs007.html
index 76da7b704..305f08738 100644
--- a/doc/pub/svm/html/._svm-bs007.html
+++ b/doc/pub/svm/html/._svm-bs007.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -200,7 +198,7 @@ $$
16
17
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs008.html b/doc/pub/svm/html/._svm-bs008.html
index 09a98c3ef..279731ba3 100644
--- a/doc/pub/svm/html/._svm-bs008.html
+++ b/doc/pub/svm/html/._svm-bs008.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -194,7 +192,7 @@ where \( \eta \) is our by now well-known learning rate.
17
18
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs009.html b/doc/pub/svm/html/._svm-bs009.html
index 582f5f760..4fcc976d2 100644
--- a/doc/pub/svm/html/._svm-bs009.html
+++ b/doc/pub/svm/html/._svm-bs009.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -191,7 +189,7 @@ regression). We are going to set up a simple case with two classes only and we w
18
19
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs010.html b/doc/pub/svm/html/._svm-bs010.html
index 67265b469..4567c4309 100644
--- a/doc/pub/svm/html/._svm-bs010.html
+++ b/doc/pub/svm/html/._svm-bs010.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -194,7 +192,7 @@ at all.
19
20
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs011.html b/doc/pub/svm/html/._svm-bs011.html
index ef14ce568..f039ea664 100644
--- a/doc/pub/svm/html/._svm-bs011.html
+++ b/doc/pub/svm/html/._svm-bs011.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -220,7 +218,7 @@ about Lagrangian multipliers.
20
21
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs012.html b/doc/pub/svm/html/._svm-bs012.html
index de1948915..3c3959e3a 100644
--- a/doc/pub/svm/html/._svm-bs012.html
+++ b/doc/pub/svm/html/._svm-bs012.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -228,7 +226,7 @@ Then \( dz \) is no longer arbitrary.
21
22
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs013.html b/doc/pub/svm/html/._svm-bs013.html
index 361980a5b..eab3a2769 100644
--- a/doc/pub/svm/html/._svm-bs013.html
+++ b/doc/pub/svm/html/._svm-bs013.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -221,7 +219,7 @@ $$
22
23
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs014.html b/doc/pub/svm/html/._svm-bs014.html
index 921b3d936..6ac810bc7 100644
--- a/doc/pub/svm/html/._svm-bs014.html
+++ b/doc/pub/svm/html/._svm-bs014.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -219,7 +217,7 @@ When \( \lambda_i > 0 \), the vectors \( \boldsymbol{x}_i \) are called support
23
24
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs015.html b/doc/pub/svm/html/._svm-bs015.html
index 2efddc322..6aead2b4e 100644
--- a/doc/pub/svm/html/._svm-bs015.html
+++ b/doc/pub/svm/html/._svm-bs015.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -202,7 +200,7 @@ subject to \( \boldsymbol{y}^T\boldsymbol{\lambda}=0 \). Here we defined the vec
24
25
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs016.html b/doc/pub/svm/html/._svm-bs016.html
index cab82a909..62f6fc39f 100644
--- a/doc/pub/svm/html/._svm-bs016.html
+++ b/doc/pub/svm/html/._svm-bs016.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -212,7 +210,7 @@ Below we discuss how to find the optimal values of \( \lambda_i \). Before we pr
25
26
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs017.html b/doc/pub/svm/html/._svm-bs017.html
index cabeab656..a3f84f06b 100644
--- a/doc/pub/svm/html/._svm-bs017.html
+++ b/doc/pub/svm/html/._svm-bs017.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -213,7 +211,7 @@ misclassifications.
26
27
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/._svm-bs018.html b/doc/pub/svm/html/._svm-bs018.html
index 5e43608d0..af1f5c7ac 100644
--- a/doc/pub/svm/html/._svm-bs018.html
+++ b/doc/pub/svm/html/._svm-bs018.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -231,8 +229,6 @@ $$
26
27
28
- ...
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs019.html b/doc/pub/svm/html/._svm-bs019.html
index 7e80bff40..a3de84d2d 100644
--- a/doc/pub/svm/html/._svm-bs019.html
+++ b/doc/pub/svm/html/._svm-bs019.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -249,7 +247,6 @@ plt.show()
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs020.html b/doc/pub/svm/html/._svm-bs020.html
index 6840b7357..236c4057a 100644
--- a/doc/pub/svm/html/._svm-bs020.html
+++ b/doc/pub/svm/html/._svm-bs020.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -220,7 +218,6 @@ the trouble of performing the transformation
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs021.html b/doc/pub/svm/html/._svm-bs021.html
index e891756ce..f4da30559 100644
--- a/doc/pub/svm/html/._svm-bs021.html
+++ b/doc/pub/svm/html/._svm-bs021.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -210,7 +208,6 @@ Given a kernel \( K \) and the targets \( y_i \) this matrix is easy to set up.
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs022.html b/doc/pub/svm/html/._svm-bs022.html
index 52686017e..dc6cb8f09 100644
--- a/doc/pub/svm/html/._svm-bs022.html
+++ b/doc/pub/svm/html/._svm-bs022.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -211,7 +209,6 @@ in practice.
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs023.html b/doc/pub/svm/html/._svm-bs023.html
index 410c286f4..80afe5b24 100644
--- a/doc/pub/svm/html/._svm-bs023.html
+++ b/doc/pub/svm/html/._svm-bs023.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -368,7 +366,6 @@ plt.show()
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs024.html b/doc/pub/svm/html/._svm-bs024.html
index 311c05184..3ad9742bf 100644
--- a/doc/pub/svm/html/._svm-bs024.html
+++ b/doc/pub/svm/html/._svm-bs024.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -196,7 +194,6 @@ Convex optimization problems play a central role in applied mathematics and we r
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs025.html b/doc/pub/svm/html/._svm-bs025.html
index 3762e072b..9be29a525 100644
--- a/doc/pub/svm/html/._svm-bs025.html
+++ b/doc/pub/svm/html/._svm-bs025.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -196,7 +194,6 @@ This will make our life much easier. You don't need t write your own optimizer.
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/._svm-bs026.html b/doc/pub/svm/html/._svm-bs026.html
index 38647b2d0..9e2347ddb 100644
--- a/doc/pub/svm/html/._svm-bs026.html
+++ b/doc/pub/svm/html/._svm-bs026.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -237,7 +235,6 @@ sol[’primal objective’]
26
27
28
- 29
»
diff --git a/doc/pub/svm/html/svm-bs.html b/doc/pub/svm/html/svm-bs.html
index 43ca73433..a030a0dc1 100644
--- a/doc/pub/svm/html/svm-bs.html
+++ b/doc/pub/svm/html/svm-bs.html
@@ -73,8 +73,7 @@ Automatically generated HTML file from DocOnce source
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -139,7 +138,6 @@ MathJax.Hub.Config({
How do we solve these problems?
A simple example
Back to the more realistic cases
- Code Example
@@ -174,7 +172,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 25, 2019
+Nov 26, 2019
@@ -198,7 +196,7 @@ MathJax.Hub.Config({
9
10
...
- 29
+ 28
»
diff --git a/doc/pub/svm/html/svm-reveal.html b/doc/pub/svm/html/svm-reveal.html
index 95fb022fa..faeece1c0 100644
--- a/doc/pub/svm/html/svm-reveal.html
+++ b/doc/pub/svm/html/svm-reveal.html
@@ -148,7 +148,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 25, 2019
+Nov 26, 2019
@@ -1473,39 +1473,6 @@ With the slack constants this leads to the additional constraint \( 0\leq \lamb
-
-Code Example
-
-
-
-
import numpy as np
-from scipy.optimize import minimize
-def rosen(x):
- return sum(100.0*(x[1:]-x[:-1]**2.0)**2.0 + (1-x[:-1])**2.0)
-def rosen_der(x):
- xm = x[1:-1]
- xm_m1 = x[:-2]
- xm_p1 = x[2:]
- der = np.zeros_like(x)
- der[1:-1] = 200*(xm-xm_m1**2) - 400*(xm_p1 - xm**2)*xm - 2*(1-xm)
- der[0] = -400*x[0]*(x[1]-x[0]**2) - 2*(1-x[0])
- der[-1] = 200*(x[-1]-x[-2]**2)
- return der
-
-
-
-x0 = np.array([1.2, 0.1, 0.8, 1.9, 1.2])
-print(x0)
-res = minimize(rosen, x0, method='nelder-mead',options={'xtol': 1e-8, 'disp': True})
-print(x0)
-
-
-res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})
-print(x0)
-
-
-
-
diff --git a/doc/pub/svm/html/svm-solarized.html b/doc/pub/svm/html/svm-solarized.html
index 3feffe35c..2d940a82b 100644
--- a/doc/pub/svm/html/svm-solarized.html
+++ b/doc/pub/svm/html/svm-solarized.html
@@ -67,8 +67,7 @@ div { text-align: justify; text-justify: inter-word; }
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -110,7 +109,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 25, 2019
+Nov 26, 2019
@@ -1280,38 +1279,6 @@ With the slack constants this leads to the additional constraint \( 0\leq \lamb
code will be added
-
-
-
-
Code Example
-
-
-
-
import numpy as np
-from scipy.optimize import minimize
-def rosen(x):
- return sum(100.0*(x[1:]-x[:-1]**2.0)**2.0 + (1-x[:-1])**2.0)
-def rosen_der(x):
- xm = x[1:-1]
- xm_m1 = x[:-2]
- xm_p1 = x[2:]
- der = np.zeros_like(x)
- der[1:-1] = 200*(xm-xm_m1**2) - 400*(xm_p1 - xm**2)*xm - 2*(1-xm)
- der[0] = -400*x[0]*(x[1]-x[0]**2) - 2*(1-x[0])
- der[-1] = 200*(x[-1]-x[-2]**2)
- return der
-
-
-
-x0 = np.array([1.2, 0.1, 0.8, 1.9, 1.2])
-print(x0)
-res = minimize(rosen, x0, method='nelder-mead',options={'xtol': 1e-8, 'disp': True})
-print(x0)
-
-
-res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})
-print(x0)
-
diff --git a/doc/pub/svm/html/svm.html b/doc/pub/svm/html/svm.html
index d8cb22755..6a33ffaef 100644
--- a/doc/pub/svm/html/svm.html
+++ b/doc/pub/svm/html/svm.html
@@ -72,8 +72,7 @@ div { text-align: justify; text-justify: inter-word; }
'___sec23'),
('How do we solve these problems?', 2, None, '___sec24'),
('A simple example', 2, None, '___sec25'),
- ('Back to the more realistic cases', 2, None, '___sec26'),
- ('Code Example', 2, None, '___sec27')]}
+ ('Back to the more realistic cases', 2, None, '___sec26')]}
end of tocinfo -->
@@ -115,7 +114,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University
-
Nov 25, 2019
+Nov 26, 2019
@@ -1285,38 +1284,6 @@ With the slack constants this leads to the additional constraint \( 0\leq \lamb
code will be added
-
-
-
-
Code Example
-
-
-
-
import numpy as np
-from scipy.optimize import minimize
-def rosen(x):
- return sum(100.0*(x[1:]-x[:-1]**2.0)**2.0 + (1-x[:-1])**2.0)
-def rosen_der(x):
- xm = x[1:-1]
- xm_m1 = x[:-2]
- xm_p1 = x[2:]
- der = np.zeros_like(x)
- der[1:-1] = 200*(xm-xm_m1**2) - 400*(xm_p1 - xm**2)*xm - 2*(1-xm)
- der[0] = -400*x[0]*(x[1]-x[0]**2) - 2*(1-x[0])
- der[-1] = 200*(x[-1]-x[-2]**2)
- return der
-
-
-
-x0 = np.array([1.2, 0.1, 0.8, 1.9, 1.2])
-print(x0)
-res = minimize(rosen, x0, method='nelder-mead',options={'xtol': 1e-8, 'disp': True})
-print(x0)
-
-
-res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})
-print(x0)
-
diff --git a/doc/pub/svm/ipynb/ipynb-svm-src.tar.gz b/doc/pub/svm/ipynb/ipynb-svm-src.tar.gz
index d289e0cf1..a03597c64 100644
Binary files a/doc/pub/svm/ipynb/ipynb-svm-src.tar.gz and b/doc/pub/svm/ipynb/ipynb-svm-src.tar.gz differ
diff --git a/doc/pub/svm/ipynb/svm.ipynb b/doc/pub/svm/ipynb/svm.ipynb
index bfca7f0ea..e5cf5999d 100644
--- a/doc/pub/svm/ipynb/svm.ipynb
+++ b/doc/pub/svm/ipynb/svm.ipynb
@@ -10,7 +10,7 @@
" \n",
"**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n",
"\n",
- "Date: **Nov 25, 2019**\n",
+ "Date: **Nov 26, 2019**\n",
"\n",
"Copyright 1999-2019, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n",
"\n",
@@ -1884,44 +1884,7 @@
"$\\boldsymbol{y}=[y_1,y_2,\\dots,y_n]$. \n",
"With the slack constants this leads to the additional constraint $0\\leq \\lambda_i \\leq C$.\n",
"\n",
- "**code will be added**\n",
- "\n",
- "\n",
- "## Code Example"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": 6,
- "metadata": {
- "collapsed": false
- },
- "outputs": [],
- "source": [
- "import numpy as np\n",
- "from scipy.optimize import minimize\n",
- "def rosen(x):\n",
- " return sum(100.0*(x[1:]-x[:-1]**2.0)**2.0 + (1-x[:-1])**2.0)\n",
- "def rosen_der(x):\n",
- " xm = x[1:-1]\n",
- " xm_m1 = x[:-2]\n",
- " xm_p1 = x[2:]\n",
- " der = np.zeros_like(x)\n",
- " der[1:-1] = 200*(xm-xm_m1**2) - 400*(xm_p1 - xm**2)*xm - 2*(1-xm)\n",
- " der[0] = -400*x[0]*(x[1]-x[0]**2) - 2*(1-x[0])\n",
- " der[-1] = 200*(x[-1]-x[-2]**2)\n",
- " return der\n",
- "\n",
- "\n",
- "\n",
- "x0 = np.array([1.2, 0.1, 0.8, 1.9, 1.2])\n",
- "print(x0)\n",
- "res = minimize(rosen, x0, method='nelder-mead',options={'xtol': 1e-8, 'disp': True})\n",
- "print(x0)\n",
- "\n",
- "\n",
- "res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})\n",
- "print(x0)"
+ "**code will be added**"
]
}
],
diff --git a/doc/pub/svm/pdf/svm-minted.pdf b/doc/pub/svm/pdf/svm-minted.pdf
index c2b7b60d4..df26e30fa 100644
Binary files a/doc/pub/svm/pdf/svm-minted.pdf and b/doc/pub/svm/pdf/svm-minted.pdf differ
diff --git a/doc/src/SupportVMachines/svm.do.txt b/doc/src/SupportVMachines/svm.do.txt
index e1977f9c2..4ce89c8ef 100644
--- a/doc/src/SupportVMachines/svm.do.txt
+++ b/doc/src/SupportVMachines/svm.do.txt
@@ -1141,33 +1141,3 @@ With the slack constants this leads to the additional constraint $0\leq \lambda
_code will be added_
-!split
-===== Code Example =====
-!bc pycod
-import numpy as np
-from scipy.optimize import minimize
-def rosen(x):
- return sum(100.0*(x[1:]-x[:-1]**2.0)**2.0 + (1-x[:-1])**2.0)
-def rosen_der(x):
- xm = x[1:-1]
- xm_m1 = x[:-2]
- xm_p1 = x[2:]
- der = np.zeros_like(x)
- der[1:-1] = 200*(xm-xm_m1**2) - 400*(xm_p1 - xm**2)*xm - 2*(1-xm)
- der[0] = -400*x[0]*(x[1]-x[0]**2) - 2*(1-x[0])
- der[-1] = 200*(x[-1]-x[-2]**2)
- return der
-
-
-
-x0 = np.array([1.2, 0.1, 0.8, 1.9, 1.2])
-print(x0)
-res = minimize(rosen, x0, method='nelder-mead',options={'xtol': 1e-8, 'disp': True})
-print(x0)
-
-
-res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})
-print(x0)
-
-!ec
-