cleaning up svm slides

This commit is contained in:
mhjensen
2019-11-15 06:17:02 +01:00
parent dcf2c56e72
commit 59cd80d31c
35 changed files with 61 additions and 245 deletions
+3 -8
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -175,7 +170,7 @@ MathJax.Hub.Config({
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
<br>
<p>
<center><h4>Nov 10, 2019</h4></center> <!-- date -->
<center><h4>Nov 15, 2019</h4></center> <!-- date -->
<br>
<p>
@@ -199,7 +194,7 @@ MathJax.Hub.Config({
<li><a href="._svm-bs008.html">9</a></li>
<li><a href="._svm-bs009.html">10</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs001.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -201,7 +196,7 @@ unlikely that we can separate classes easily by say straight lines.
<li><a href="._svm-bs009.html">10</a></li>
<li><a href="._svm-bs010.html">11</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs002.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -258,7 +253,7 @@ plt<span style="color: #666666">.</span>show()
<li><a href="._svm-bs010.html">11</a></li>
<li><a href="._svm-bs011.html">12</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs003.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -199,7 +194,7 @@ $$
<li><a href="._svm-bs011.html">12</a></li>
<li><a href="._svm-bs012.html">13</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs004.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -215,7 +210,7 @@ When we try to separate hyperplanes, if it exists, we can use it to construct a
<li><a href="._svm-bs012.html">13</a></li>
<li><a href="._svm-bs013.html">14</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs005.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -201,7 +196,7 @@ for our data sample.
<li><a href="._svm-bs013.html">14</a></li>
<li><a href="._svm-bs014.html">15</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs006.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -197,7 +192,7 @@ $$
<li><a href="._svm-bs014.html">15</a></li>
<li><a href="._svm-bs015.html">16</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs007.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -201,7 +196,7 @@ $$
<li><a href="._svm-bs015.html">16</a></li>
<li><a href="._svm-bs016.html">17</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs008.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -205,7 +200,7 @@ at all.
<li><a href="._svm-bs016.html">17</a></li>
<li><a href="._svm-bs017.html">18</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs009.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -217,7 +212,7 @@ We have thus defined our margin as the invers of the norm of \( \boldsymbol{w} \
<li><a href="._svm-bs017.html">18</a></li>
<li><a href="._svm-bs018.html">19</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs010.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -229,7 +224,7 @@ Then \( dz \) is no longer arbitrary.
<li><a href="._svm-bs018.html">19</a></li>
<li><a href="._svm-bs019.html">20</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs011.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -222,7 +217,7 @@ $$
<li><a href="._svm-bs019.html">20</a></li>
<li><a href="._svm-bs020.html">21</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs012.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -220,7 +215,7 @@ When \( \lambda_i > 0 \), the vectors \( \boldsymbol{x}_i \) are called support
<li><a href="._svm-bs020.html">21</a></li>
<li><a href="._svm-bs021.html">22</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs013.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -203,7 +198,7 @@ subject to \( \boldsymbol{y}^T\boldsymbol{\lambda}=0 \). Here we defined the vec
<li><a href="._svm-bs021.html">22</a></li>
<li><a href="._svm-bs022.html">23</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs014.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -213,7 +208,7 @@ Below we discuss how to find the optimal values of \( \lambda_i \). Before we pr
<li><a href="._svm-bs022.html">23</a></li>
<li><a href="._svm-bs023.html">24</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs015.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -214,7 +209,7 @@ misclassifications.
<li><a href="._svm-bs023.html">24</a></li>
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs016.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -233,7 +228,7 @@ $$
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs017.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -8
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -251,8 +246,6 @@ plt<span style="color: #666666">.</span>show()
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs018.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -219,7 +214,6 @@ the trouble of performing the transformation
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs019.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -212,7 +207,6 @@ Given a kernel \( K \) and the targets \( y_i \) this matrix is easy to set up.
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs020.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -206,7 +201,6 @@ well in practice.
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs021.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -370,7 +365,6 @@ plt<span style="color: #666666">.</span>show()
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs022.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -198,7 +193,6 @@ Convex optimization problems play a central role in applied mathematics and we r
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs023.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -198,7 +193,6 @@ This will make our life much easier. You don't need t write your own optimizer.
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs024.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+1 -7
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -239,7 +234,6 @@ sol[primal objective]
<li class="active"><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs025.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -8
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -159,7 +154,7 @@ MathJax.Hub.Config({
<h2 id="___sec24" class="anchor">Back to the more realistic cases </h2>
<p>
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the <b>slack</b> parameter \( C \) we have
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the <b>slack</b> parameter \( C \) we have
$$
\frac{1}{2} \boldsymbol{\lambda}^T\begin{bmatrix} y_1y_1K(\boldsymbol{x}_1,\boldsymbol{x}_1) & y_1y_2K(\boldsymbol{x}_1,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_1,\boldsymbol{x}_n) \\
y_2y_1K(\boldsymbol{x}_2,\boldsymbol{x}_1) & y_2y_2K(\boldsymbol{x}_2,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_2,\boldsymbol{x}_n) \\
@@ -193,7 +188,6 @@ With the slack constants this leads to the additional constraint \( 0\leq \lamb
<li><a href="._svm-bs024.html">25</a></li>
<li class="active"><a href="._svm-bs025.html">26</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -8
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -186,6 +181,7 @@ res2 <span style="color: #666666">=</span> minimize(rosen, x0, method<span style
<span style="color: #008000; font-weight: bold">print</span>(x0)
</pre></div>
<p>
<p>
<!-- navigation buttons at the bottom of the page -->
<ul class="pagination">
@@ -201,8 +197,6 @@ res2 <span style="color: #666666">=</span> minimize(rosen, x0, method<span style
<li><a href="._svm-bs024.html">25</a></li>
<li><a href="._svm-bs025.html">26</a></li>
<li class="active"><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs027.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+3 -8
View File
@@ -72,11 +72,7 @@ Automatically generated HTML file from DocOnce source
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -140,7 +136,6 @@ MathJax.Hub.Config({
<!-- navigation toc: --> <li><a href="._svm-bs024.html#___sec23" style="font-size: 80%;">A simple example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs025.html#___sec24" style="font-size: 80%;">Back to the more realistic cases</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs026.html#___sec25" style="font-size: 80%;">Code Example</a></li>
<!-- navigation toc: --> <li><a href="._svm-bs027.html#___sec26" style="font-size: 80%;">Multiclass problems and regression with SVMs</a></li>
</ul>
</li>
@@ -175,7 +170,7 @@ MathJax.Hub.Config({
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
<br>
<p>
<center><h4>Nov 10, 2019</h4></center> <!-- date -->
<center><h4>Nov 15, 2019</h4></center> <!-- date -->
<br>
<p>
@@ -199,7 +194,7 @@ MathJax.Hub.Config({
<li><a href="._svm-bs008.html">9</a></li>
<li><a href="._svm-bs009.html">10</a></li>
<li><a href="">...</a></li>
<li><a href="._svm-bs027.html">28</a></li>
<li><a href="._svm-bs026.html">27</a></li>
<li><a href="._svm-bs001.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
+2 -8
View File
@@ -148,7 +148,7 @@ MathJax.Hub.Config({
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
<br>
<p>&nbsp;<br>
<center><h4>Nov 10, 2019</h4></center> <!-- date -->
<center><h4>Nov 15, 2019</h4></center> <!-- date -->
<br>
<p>
@@ -1412,7 +1412,7 @@ sol[<span style="color: #a61717; background-color: #e3d2d2"></span>primal obj
<h2 id="___sec24">Back to the more realistic cases </h2>
<p>
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the <b>slack</b> parameter \( C \) we have
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the <b>slack</b> parameter \( C \) we have
<p>&nbsp;<br>
$$
\frac{1}{2} \boldsymbol{\lambda}^T\begin{bmatrix} y_1y_1K(\boldsymbol{x}_1,\boldsymbol{x}_1) & y_1y_2K(\boldsymbol{x}_1,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_1,\boldsymbol{x}_n) \\
@@ -1466,12 +1466,6 @@ res2 = minimize(rosen, x0, method=<span style="color: #CD5555">&#39;BFGS&#39;</s
</section>
<section>
<h2 id="___sec26">Multiclass problems and regression with SVMs </h2>
This material will be added later.
</section>
</div> <!-- class="slides" -->
</div> <!-- class="reveal" -->
+3 -11
View File
@@ -66,11 +66,7 @@ div { text-align: justify; text-justify: inter-word; }
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -112,7 +108,7 @@ MathJax.Hub.Config({
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
<br>
<p>
<center><h4>Nov 10, 2019</h4></center> <!-- date -->
<center><h4>Nov 15, 2019</h4></center> <!-- date -->
<br>
<p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
@@ -1226,7 +1222,7 @@ sol[<span style="color: #a61717; background-color: #e3d2d2"></span>primal obj
<h2 id="___sec24">Back to the more realistic cases </h2>
<p>
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the <b>slack</b> parameter \( C \) we have
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the <b>slack</b> parameter \( C \) we have
$$
\frac{1}{2} \boldsymbol{\lambda}^T\begin{bmatrix} y_1y_1K(\boldsymbol{x}_1,\boldsymbol{x}_1) & y_1y_2K(\boldsymbol{x}_1,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_1,\boldsymbol{x}_n) \\
y_2y_1K(\boldsymbol{x}_2,\boldsymbol{x}_1) & y_2y_2K(\boldsymbol{x}_2,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_2,\boldsymbol{x}_n) \\
@@ -1276,10 +1272,6 @@ res2 = minimize(rosen, x0, method=<span style="color: #CD5555">&#39;BFGS&#39;</s
<span style="color: #8B008B; font-weight: bold">print</span>(x0)
</pre></div>
<p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="___sec26">Multiclass problems and regression with SVMs </h2>
This material will be added later.
<!-- ------------------- end of main content --------------- -->
+3 -11
View File
@@ -71,11 +71,7 @@ div { text-align: justify; text-justify: inter-word; }
('How do we solve these problems?', 2, None, '___sec22'),
('A simple example', 2, None, '___sec23'),
('Back to the more realistic cases', 2, None, '___sec24'),
('Code Example', 2, None, '___sec25'),
('Multiclass problems and regression with SVMs',
2,
None,
'___sec26')]}
('Code Example', 2, None, '___sec25')]}
end of tocinfo -->
<body>
@@ -117,7 +113,7 @@ MathJax.Hub.Config({
<center>[2] <b>Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University</b></center>
<br>
<p>
<center><h4>Nov 10, 2019</h4></center> <!-- date -->
<center><h4>Nov 15, 2019</h4></center> <!-- date -->
<br>
<p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
@@ -1231,7 +1227,7 @@ sol[primal objective]
<h2 id="___sec24">Back to the more realistic cases </h2>
<p>
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the <b>slack</b> parameter \( C \) we have
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the <b>slack</b> parameter \( C \) we have
$$
\frac{1}{2} \boldsymbol{\lambda}^T\begin{bmatrix} y_1y_1K(\boldsymbol{x}_1,\boldsymbol{x}_1) & y_1y_2K(\boldsymbol{x}_1,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_1,\boldsymbol{x}_n) \\
y_2y_1K(\boldsymbol{x}_2,\boldsymbol{x}_1) & y_2y_2K(\boldsymbol{x}_2,\boldsymbol{x}_2) & \dots & \dots & y_1y_nK(\boldsymbol{x}_2,\boldsymbol{x}_n) \\
@@ -1281,10 +1277,6 @@ res2 <span style="color: #666666">=</span> minimize(rosen, x0, method<span style
<span style="color: #008000; font-weight: bold">print</span>(x0)
</pre></div>
<p>
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
<h2 id="___sec26">Multiclass problems and regression with SVMs </h2>
This material will be added later.
<!-- ------------------- end of main content --------------- -->
Binary file not shown.
+2 -10
View File
@@ -10,7 +10,7 @@
"<!-- Author: --> \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 10, 2019**\n",
"Date: **Nov 15, 2019**\n",
"\n",
"Copyright 1999-2019, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n",
"\n",
@@ -1829,7 +1829,7 @@
"source": [
"## Back to the more realistic cases\n",
"\n",
"We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the **slack** parameter $C$ we have"
"We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the **slack** parameter $C$ we have"
]
},
{
@@ -1893,14 +1893,6 @@
"res2 = minimize(rosen, x0, method='BFGS', jac=rosen_der, options={'disp': True})\n",
"print(x0)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Multiclass problems and regression with SVMs\n",
"This material will be added later."
]
}
],
"metadata": {},
Binary file not shown.
+1 -4
View File
@@ -1094,7 +1094,7 @@ sol[primal objective]
!split
===== Back to the more realistic cases =====
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducint the _slack_ parameter $C$ we have
We are now ready to return to our setup of the optmization problem for a more realistic case. Introducing the _slack_ parameter $C$ we have
!bt
\[
\frac{1}{2} \bm{\lambda}^T\begin{bmatrix} y_1y_1K(\bm{x}_1,\bm{x}_1) & y_1y_2K(\bm{x}_1,\bm{x}_2) & \dots & \dots & y_1y_nK(\bm{x}_1,\bm{x}_n) \\
@@ -1142,6 +1142,3 @@ print(x0)
!ec
!split
===== Multiclass problems and regression with SVMs =====
This material will be added later.