<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>The math behind SVM on SVM Tutorial</title><link>http://www.svm-tutorial.com/svm-tutorial/math-svm-tutorial/</link><description>Recent content in The math behind SVM on SVM Tutorial</description><generator>Hugo</generator><language>en-us</language><copyright>© [Alexandre Kowalczyk](https://www.linkedin.com/in/alexandrekow)</copyright><lastBuildDate>Sun, 11 Sep 2016 18:47:54 +0000</lastBuildDate><atom:link href="http://www.svm-tutorial.com/svm-tutorial/math-svm-tutorial/index.xml" rel="self" type="application/rss+xml"/><item><title>SVM - Understanding the math - Part 1 - The margin</title><link>http://www.svm-tutorial.com/2014/11/svm-understanding-math-part-1/</link><pubDate>Sun, 02 Nov 2014 19:04:29 +0000</pubDate><guid>http://www.svm-tutorial.com/2014/11/svm-understanding-math-part-1/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;a class="anchor" href="#introduction"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;This is the first article from a series of articles I will be writing about the math behind SVM. There is a lot to talk about and a lot of mathematical backgrounds is often necessary. However, I will try to keep a slow pace and to give in-depth explanations, so that everything is crystal clear, even for beginners.&lt;/p&gt;&#10;&lt;p&gt;If you are new and wish to know a little bit more about SVMs before diving into the math, you can read the article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>SVM - Understanding the math - Part 2</title><link>http://www.svm-tutorial.com/2014/11/svm-understanding-math-part-2/</link><pubDate>Sun, 09 Nov 2014 19:00:17 +0000</pubDate><guid>http://www.svm-tutorial.com/2014/11/svm-understanding-math-part-2/</guid><description>&lt;p&gt;&lt;img src="http://www.svm-tutorial.com/wp-content/uploads/2014/11/cover.png" alt="svm tutorial math" loading="lazy"&gt;&lt;/p&gt;&#10;&lt;p&gt;This is &lt;strong&gt;Part 2&lt;/strong&gt; of my series of tutorial about the math behind Support Vector Machines.&lt;br&gt;&#10;If you did not read the previous article, you might want to start the serie at the beginning by reading this article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;In the &lt;a href="http://www.svm-tutorial.com/2014/11/svm-understanding-math-part-1/" title="SVM - Understanding the math - Part 1"&gt;first part&lt;/a&gt;, we saw what is the aim of the SVM. Its goal is to find the hyperplane which maximizes the margin.&lt;/p&gt;</description></item><item><title>SVM - Understanding the math - the optimal hyperplane</title><link>http://www.svm-tutorial.com/2015/06/svm-understanding-math-part-3/</link><pubDate>Mon, 08 Jun 2015 17:35:43 +0000</pubDate><guid>http://www.svm-tutorial.com/2015/06/svm-understanding-math-part-3/</guid><description>&lt;p&gt;This is the &lt;strong&gt;Part 3&lt;/strong&gt; of my series of tutorials about the math behind Support Vector Machine.&lt;/p&gt;&#10;&lt;p&gt;If you did not read the previous articles, you might want to start the serie at the beginning by reading this article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="what-is-this-article-about"&gt;What is this article about?&lt;a class="anchor" href="#what-is-this-article-about"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The main focus of this article is to show you the reasoning allowing us to select the optimal hyperplane.&lt;/p&gt;&#10;&lt;p&gt;Here is a quick summary of what we will see:&lt;/p&gt;</description></item><item><title>SVM - Understanding the math - Unconstrained minimization</title><link>http://www.svm-tutorial.com/2016/09/unconstrained-minimization/</link><pubDate>Sun, 11 Sep 2016 18:31:32 +0000</pubDate><guid>http://www.svm-tutorial.com/2016/09/unconstrained-minimization/</guid><description>&lt;p&gt;&lt;img src="http://www.svm-tutorial.com/wp-content/uploads/2016/07/maths.jpg" alt="maths" loading="lazy"&gt;&lt;/p&gt;&#10;&lt;p&gt;This is the &lt;strong&gt;Part 4&lt;/strong&gt; of my series of tutorials about the math behind Support Vector Machines.&lt;br&gt;&#10;Today we are going to learn how to solve an unconstrained minimization problem.&lt;/p&gt;&#10;&lt;p&gt;If you did not read the previous articles, you might want to start the serie at the beginning by reading this article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="about-this-part"&gt;About this Part&lt;a class="anchor" href="#about-this-part"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;It took me a while to write this article because the subject is vast and assume a lot of prior knowledge. What should I explain and what should I skip was kind of a hard line to trace. After a while, I ended up with a large Part 4 which was too long to read. So I decided to split it. Welcome, Part 4, Part 5 and Part 6!&lt;/p&gt;</description></item><item><title>SVM - Understanding the math - Convex functions</title><link>http://www.svm-tutorial.com/2016/09/convex-functions/</link><pubDate>Sun, 11 Sep 2016 18:42:52 +0000</pubDate><guid>http://www.svm-tutorial.com/2016/09/convex-functions/</guid><description>&lt;p&gt;This is the &lt;strong&gt;Part 5&lt;/strong&gt; of my series of tutorials about the math behind Support Vector Machines.&lt;br&gt;&#10;Today we are going to study convex functions.&lt;/p&gt;&#10;&lt;p&gt;If you did not read the previous articles, you might want to start the serie at the beginning by reading this article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="how-can-we-find-a-global-minimum"&gt;How can we find a global minimum?&lt;a class="anchor" href="#how-can-we-find-a-global-minimum"&gt;&lt;/a&gt;&lt;/h3&gt;&#10;&lt;p&gt;There is one simple way to find the global minimum:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Find all the local minima&lt;/li&gt;&#10;&lt;li&gt;Take the smallest one; it is the global minimum.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Another approach is to study the function we are trying to minimize. If this function is convex, then we are sure its local minimum is a global minimum.&lt;/p&gt;</description></item><item><title>SVM - Understanding the math - Duality and Lagrange multipliers</title><link>http://www.svm-tutorial.com/2016/09/duality-lagrange-multipliers/</link><pubDate>Sun, 11 Sep 2016 18:47:54 +0000</pubDate><guid>http://www.svm-tutorial.com/2016/09/duality-lagrange-multipliers/</guid><description>&lt;p&gt;This is the &lt;strong&gt;Part 6&lt;/strong&gt; of my series of tutorials about the math behind Support Vector Machines.&lt;br&gt;&#10;Today we will learn about duality, optimization problems and Lagrange multipliers.&lt;/p&gt;&#10;&lt;p&gt;If you did not read the previous articles, you might want to start the serie at the beginning by reading this article: &lt;a href="http://www.svm-tutorial.com/2017/02/svms-overview-support-vector-machines/"&gt;an overview of Support Vector Machine&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="duality"&gt; Duality&lt;a class="anchor" href="#duality"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;In mathematical optimization theory, &lt;strong&gt;duality&lt;/strong&gt; means that optimization problems may be viewed from either of two perspectives, the primal problem or the dual problem (&lt;strong&gt;the duality principle&lt;/strong&gt;). The solution to the dual problem provides a lower bound to the solution of the primal (minimization) problem.  (&lt;a href="https://en.wikipedia.org/wiki/Duality_%28optimization%29" rel="noopener"&gt;Wikipedia&lt;/a&gt;)&lt;/p&gt;</description></item></channel></rss>