<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: multiclass SVM in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/896472#M10616</link>
    <description>&lt;P&gt;I think this is your only option :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;One-vs-Rest and One-vs-One for Multi-Class Classification&lt;BR /&gt;&lt;A href="https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification/" target="_blank"&gt;https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Paper SAS434-2017&lt;BR /&gt;&lt;STRONG&gt;Methods of Multinomial Classification Using Support Vector Machines&lt;/STRONG&gt;&lt;BR /&gt;Ralph Abbey, Taiping He, and Tao Wang, SAS® Institute Inc. &lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/SAS0434-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/SAS0434-2017.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 16:35:53 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-09-29T16:35:53Z</dc:date>
    <item>
      <title>multiclass SVM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/895985#M10612</link>
      <description>&lt;P&gt;I tried to run an SVM model that I built within SAS viya using 'build model'. However, I received an error indicating that only binary or interval type targets are supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I have approximately 100 classes so I am wondering if there is any easy way that SVM can be used for &lt;STRONG&gt;multi-class (more than 2) classification within SAS viya?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware that this could be done by subsuming all of the classes into just two broader classes, and using binary svm, and then continually repeating the process (of dividing these broader classes into two slightly less broad classes) to classify the observations into each of the 100 classes but I would prefer it if there is a simpler and less time-expensive solution.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 03:04:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/895985#M10612</guid>
      <dc:creator>William29</dc:creator>
      <dc:date>2023-09-27T03:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: multiclass SVM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/896472#M10616</link>
      <description>&lt;P&gt;I think this is your only option :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;One-vs-Rest and One-vs-One for Multi-Class Classification&lt;BR /&gt;&lt;A href="https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification/" target="_blank"&gt;https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Paper SAS434-2017&lt;BR /&gt;&lt;STRONG&gt;Methods of Multinomial Classification Using Support Vector Machines&lt;/STRONG&gt;&lt;BR /&gt;Ralph Abbey, Taiping He, and Tao Wang, SAS® Institute Inc. &lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/SAS0434-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/SAS0434-2017.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/896472#M10616</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-09-29T16:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiclass SVM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/896475#M10617</link>
      <description>&lt;P&gt;If you have ~100 or 100+ output labels, I guess you are assigning texts (unstructured data) to topics or so.&lt;/P&gt;
&lt;P&gt;If one text can have many topics (like 3 or 5 or 10), you need multi-label models.&lt;/P&gt;
&lt;P&gt;Assigning one text to one multinomial output class would be "wrong" in that case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try "&lt;SPAN&gt;extreme multi label text classification".&lt;BR /&gt;&lt;/SPAN&gt;See here :&amp;nbsp;&lt;A href="https://pypi.org/project/extremetext/" target="_blank" rel="noopener"&gt;https://pypi.org/project/extremetext/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;See also this :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;Multilabel Classification: An Introduction with Python’s Scikit-Learn&lt;BR /&gt;&lt;A href="https://www.kdnuggets.com/2023/08/multilabel-classification-introduction-python-scikitlearn.html" target="_blank" rel="noopener"&gt;https://www.kdnuggets.com/2023/08/multilabel-classification-introduction-python-scikitlearn.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;1.12. Multiclass and multioutput algorithms&lt;BR /&gt;&lt;A href="https://scikit-learn.org/stable/modules/multiclass.html" target="_blank" rel="noopener"&gt;https://scikit-learn.org/stable/modules/multiclass.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can do it through SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/multiclass-SVM/m-p/896475#M10617</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-09-29T16:49:52Z</dc:date>
    </item>
  </channel>
</rss>

