Hard margin SVM in Matlab2019 Community Moderator ElectionHow can the performance of a neural network vary considerably without changing any parameters?$chi^2$ kernel SVM performance issueHow to quantify the performance of the classifier (multi-class SVM) using the test data?Linear SVM in matlab and python giving different resultsHow to break down large SVM classification model?Improve precision of binary classification - SVM in MatlabPlotting ROC curve in cross validation using Matlab perfcurveSetting best SVM hyper parametersSVM hyperparameters using Matlab's fitcsvm and OptimizeHyperparametersSVM hard and soft margins in matlab,

"You are your self first supporter", a more proper way to say it

Why does Kotter return in Welcome Back Kotter?

Can a German sentence have two subjects?

Why is an old chain unsafe?

The use of multiple foreign keys on same column in SQL Server

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

Do VLANs within a subnet need to have their own subnet for router on a stick?

How old can references or sources in a thesis be?

TGV timetables / schedules?

Can I interfere when another PC is about to be attacked?

XeLaTeX and pdfLaTeX ignore hyphenation

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Why not use SQL instead of GraphQL?

Is there any sparring that doesn't involve punches to the head?

Pronouncing Dictionary.com's W.O.D "vade mecum" in English

Relation between Frobenius, spectral norm and sum of maxima

Can you tell me why doing scalar multiplication of a point on a Elliptic curve over a finite field gets to a point at infinity?

Is it possible to make sharp wind that can cut stuff from afar?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

A Journey Through Space and Time

GPS Rollover on Android Smartphones

Mains transformer blew up amplifier, incorrect description in wiring instructions?

Can I make popcorn with any corn?



Hard margin SVM in Matlab



2019 Community Moderator ElectionHow can the performance of a neural network vary considerably without changing any parameters?$chi^2$ kernel SVM performance issueHow to quantify the performance of the classifier (multi-class SVM) using the test data?Linear SVM in matlab and python giving different resultsHow to break down large SVM classification model?Improve precision of binary classification - SVM in MatlabPlotting ROC curve in cross validation using Matlab perfcurveSetting best SVM hyper parametersSVM hyperparameters using Matlab's fitcsvm and OptimizeHyperparametersSVM hard and soft margins in matlab,










0












$begingroup$


How can I build a hard margin svm model using matlab builtin functions such as fitcsvm and fitclinear? Should I set the hyperparmater C which is 'Boxconstraint' in matlab fitcsvm function to infinite? Or a large number? Also, maybe set the 'KernelFunction' to linear?










share|improve this question











$endgroup$
















    0












    $begingroup$


    How can I build a hard margin svm model using matlab builtin functions such as fitcsvm and fitclinear? Should I set the hyperparmater C which is 'Boxconstraint' in matlab fitcsvm function to infinite? Or a large number? Also, maybe set the 'KernelFunction' to linear?










    share|improve this question











    $endgroup$














      0












      0








      0





      $begingroup$


      How can I build a hard margin svm model using matlab builtin functions such as fitcsvm and fitclinear? Should I set the hyperparmater C which is 'Boxconstraint' in matlab fitcsvm function to infinite? Or a large number? Also, maybe set the 'KernelFunction' to linear?










      share|improve this question











      $endgroup$




      How can I build a hard margin svm model using matlab builtin functions such as fitcsvm and fitclinear? Should I set the hyperparmater C which is 'Boxconstraint' in matlab fitcsvm function to infinite? Or a large number? Also, maybe set the 'KernelFunction' to linear?







      classification svm matlab






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 mins ago









      Ethan

      695425




      695425










      asked 2 hours ago









      gingin

      1778




      1778




















          0






          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: "557"
          ;
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48824%2fhard-margin-svm-in-matlab%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48824%2fhard-margin-svm-in-matlab%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