<?xml version="1.0" encoding="UTF-8"?>
<article article-type="Research Article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher">journal-of-statistics-and-management-systems</journal-id>
      <journal-title-group>
        <journal-title> Journal of Statistics and Management Systems</journal-title>
      </journal-title-group>
      <issn publication-format="electronic">2169-0014</issn>
      <issn publication-format="print">0972-0510</issn>
      <publisher>
        <publisher-name>Taru Publications</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.47974/JSMS-1194</article-id>
      <title-group>
        <article-title>Comparing the accuracy of support vector machine and the Naïve Bayes algorithm : Twitter sentiment analysis during the COVID-19 pandemic</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name>
            <surname>Almansour</surname>
            <given-names>Aseel</given-names>
          </name>
          <aff>Department of Statistics, Science College, King Abdulaziz University, Jeddah, P. O. Box. 80200, 21589, Saudi Arabia</aff>
        </contrib>
      </contrib-group>
      <volume>27</volume>
      <issue>5</issue>
      <fpage>943</fpage>
      <lpage>958</lpage>
      <pub-date date-type="pub">
        <day>05</day>
        <month>08</month>
        <year>2024</year>
      </pub-date>
      <abstract>
        <p>The COVID-19 pandemic has imposed substantial challenges globally, and many have voiced their thoughts on social media about the unfolding crisis. This study performed a sentiment analysis (SA) on Twitter posts, to assess the general public’s perspective on the pandemic. Our primary objective was to compare the performance of two frequently used algorithms, support vector machine (SVM) and Naive Bayes classification (NBC), in performing SA, which is a novel direction. The results showed that the more sophisticated SVM algorithm obtained 81% accuracy compared with the 74% achieved by NBC. Consequently, SVM may be used to assess and acquire improved public SA from Twitter.</p>
      </abstract>
      <kwd-group>
        <kwd>Sentiment analysis</kwd>
        <kwd>Naive bayes classification</kwd>
        <kwd>Support vector machine</kwd>
        <kwd>Machine learning</kwd>
        <kwd>COVID-19</kwd>
      </kwd-group>
      <custom-meta-group>
        <custom-meta>
          <meta-name>access</meta-name>
          <meta-value>open</meta-value>
        </custom-meta>
        <custom-meta>
          <meta-name>retracted</meta-name>
          <meta-value>no</meta-value>
        </custom-meta>
      </custom-meta-group>
    </article-meta>
  </front>
</article>
