SVM: Are all the support vectors necessarily used to construct the weights











up vote
2
down vote

favorite












I know what exactly the SVM is and very clear about the principles and algorithms. But I'm curious about are all support vectors necessarily used in constructing weights $w$.




Let $w^Tx_i + b$ denote SVM model. Based on KKT dual complementarity condition,



$alpha_i[y_i(w^Tx_i+b)-1]=0, i=1,cdots,N,$



where $w$ and $b$ are weights and bias, $alpha_i$ is Lagrange multiplier.




we know that if $alpha_i not=0$, then $y_i(w^Tx_i+b)-1=0$. And such a $x_i$ is called support vector. Sequentially, the estimation of weights $w = sum_{i=1}^malpha_{(i)}y_{(i)}x_{(i)}$ where $x_{(i)}s$ are the support vectors.



What I'm confused about is:




Is it possible that some $alpha_0=0$ and $y_0(w^Tx_0+b)-1=0$ hold simultaneously so that such a $x_i$ is a support vector itself, but is not used in constructing weights $w$, since $alpha_0=0$.




Thanks for any ideas. :)










share|cite|improve this question


























    up vote
    2
    down vote

    favorite












    I know what exactly the SVM is and very clear about the principles and algorithms. But I'm curious about are all support vectors necessarily used in constructing weights $w$.




    Let $w^Tx_i + b$ denote SVM model. Based on KKT dual complementarity condition,



    $alpha_i[y_i(w^Tx_i+b)-1]=0, i=1,cdots,N,$



    where $w$ and $b$ are weights and bias, $alpha_i$ is Lagrange multiplier.




    we know that if $alpha_i not=0$, then $y_i(w^Tx_i+b)-1=0$. And such a $x_i$ is called support vector. Sequentially, the estimation of weights $w = sum_{i=1}^malpha_{(i)}y_{(i)}x_{(i)}$ where $x_{(i)}s$ are the support vectors.



    What I'm confused about is:




    Is it possible that some $alpha_0=0$ and $y_0(w^Tx_0+b)-1=0$ hold simultaneously so that such a $x_i$ is a support vector itself, but is not used in constructing weights $w$, since $alpha_0=0$.




    Thanks for any ideas. :)










    share|cite|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I know what exactly the SVM is and very clear about the principles and algorithms. But I'm curious about are all support vectors necessarily used in constructing weights $w$.




      Let $w^Tx_i + b$ denote SVM model. Based on KKT dual complementarity condition,



      $alpha_i[y_i(w^Tx_i+b)-1]=0, i=1,cdots,N,$



      where $w$ and $b$ are weights and bias, $alpha_i$ is Lagrange multiplier.




      we know that if $alpha_i not=0$, then $y_i(w^Tx_i+b)-1=0$. And such a $x_i$ is called support vector. Sequentially, the estimation of weights $w = sum_{i=1}^malpha_{(i)}y_{(i)}x_{(i)}$ where $x_{(i)}s$ are the support vectors.



      What I'm confused about is:




      Is it possible that some $alpha_0=0$ and $y_0(w^Tx_0+b)-1=0$ hold simultaneously so that such a $x_i$ is a support vector itself, but is not used in constructing weights $w$, since $alpha_0=0$.




      Thanks for any ideas. :)










      share|cite|improve this question













      I know what exactly the SVM is and very clear about the principles and algorithms. But I'm curious about are all support vectors necessarily used in constructing weights $w$.




      Let $w^Tx_i + b$ denote SVM model. Based on KKT dual complementarity condition,



      $alpha_i[y_i(w^Tx_i+b)-1]=0, i=1,cdots,N,$



      where $w$ and $b$ are weights and bias, $alpha_i$ is Lagrange multiplier.




      we know that if $alpha_i not=0$, then $y_i(w^Tx_i+b)-1=0$. And such a $x_i$ is called support vector. Sequentially, the estimation of weights $w = sum_{i=1}^malpha_{(i)}y_{(i)}x_{(i)}$ where $x_{(i)}s$ are the support vectors.



      What I'm confused about is:




      Is it possible that some $alpha_0=0$ and $y_0(w^Tx_0+b)-1=0$ hold simultaneously so that such a $x_i$ is a support vector itself, but is not used in constructing weights $w$, since $alpha_0=0$.




      Thanks for any ideas. :)







      statistics machine-learning






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 13 at 22:29









      Jing Zeng

      111




      111



























          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2997437%2fsvm-are-all-the-support-vectors-necessarily-used-to-construct-the-weights%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2997437%2fsvm-are-all-the-support-vectors-necessarily-used-to-construct-the-weights%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?