{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,5,14]],"date-time":"2025-05-14T02:42:28Z","timestamp":1747190548668,"version":"3.40.5"},"reference-count":11,"publisher":"Wiley","license":[{"start":{"date-parts":[[2021,3,3]],"date-time":"2021-03-03T00:00:00Z","timestamp":1614729600000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Advances in Human-Computer Interaction"],"published-print":{"date-parts":[[2021,3,3]]},"abstract":"<jats:p>Gathering public opinions on the Internet and Internet-based applications like Twitter has become popular in recent times, as it provides decision-makers with uncensored public views on products, government policies, and programs. Through natural language processing and machine learning techniques, unstructured data forms from these sources can be analyzed using traditional statistical learning. The challenge encountered in machine learning method-based sentiment classification still remains the abundant amount of data available, which makes it difficult to train the learning algorithms in feasible time. This eventually degrades the classification accuracy of the algorithms. From this assertion, the effect of training data sizes in classification tasks cannot be overemphasized. This study statistically assessed the performance of Naive Bayes, support vector machine (SVM), and random forest algorithms on sentiment text classification task. The research also investigated the optimal conditions such as varying data sizes, trees, and kernel types under which each of the respective algorithms performed best. The study collected Twitter data from Ghanaian users which contained sentiments about the Ghanaian Government. The data was preprocessed, manually labeled by the researcher, and then trained using the aforementioned algorithms. These algorithms are three of the most popular learning algorithms which have had lots of success in diverse fields. The Naive Bayes classifier was adjudged the best algorithm for the task as it outperformed the other two machine learning algorithms with an accuracy of 99%, F1 score of 86.51%, and Matthews correlation coefficient of 0.9906. The algorithm also performed well with increasing data sizes. The Naive Bayes classifier is recommended as viable for sentiment text classification, especially for text classification systems which work with Big Data.<\/jats:p>","DOI":"10.1155\/2021\/5561204","type":"journal-article","created":{"date-parts":[[2021,3,4]],"date-time":"2021-03-04T00:50:05Z","timestamp":1614819005000},"page":"1-7","source":"Crossref","is-referenced-by-count":3,"title":["Statistical Analysis of Public Sentiment on the Ghanaian Government: A Machine Learning Approach"],"prefix":"10.1155","volume":"2021","author":[{"given":"John","family":"Andoh","sequence":"first","affiliation":[{"name":"Department of Statistics & Actuarial Science, School of Physical and Mathematical Sciences, University of Ghana, Legon, Accra, Ghana"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2859-1215","authenticated-orcid":true,"given":"Louis","family":"Asiedu","sequence":"additional","affiliation":[{"name":"Department of Statistics & Actuarial Science, School of Physical and Mathematical Sciences, University of Ghana, Legon, Accra, Ghana"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Anani","family":"Lotsi","sequence":"additional","affiliation":[{"name":"Department of Statistics & Actuarial Science, School of Physical and Mathematical Sciences, University of Ghana, Legon, Accra, Ghana"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Charlotte","family":"Chapman-Wardy","sequence":"additional","affiliation":[{"name":"Department of Statistics & Actuarial Science, School of Physical and Mathematical Sciences, University of Ghana, Legon, Accra, Ghana"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"311","reference":[{"key":"1","first-page":"11","article-title":"For election day influence, twitter ruled social media","volume":"8","author":"M. Isaac","year":"2016","journal-title":"The New York Times"},{"key":"2","first-page":"311","article-title":"Opinion mining and sentiment analysis","volume":"35","author":"B. Pang","year":"2009","journal-title":"Computational Linguistics"},{"key":"3","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2016.03.045"},{"key":"4","first-page":"6261","article-title":"Comparative study of classification algorithms used in sentiment analysis","volume":"5","author":"A. Gupte","year":"2014","journal-title":"International Journal of Computer Science and Information Technologies"},{"key":"5","unstructured":"GoA.BhayaniR.HuangL.Twitter sentiment classification using distant supervision2009Stanford, CA, USAStanford UniversityCS224N Project Report"},{"key":"6","doi-asserted-by":"publisher","DOI":"10.1177\/0165551515613226"},{"key":"7","doi-asserted-by":"publisher","DOI":"10.1109\/isspit.2015.7394379"},{"author":"A. Hadjarian","key":"8","article-title":"An empirical analysis of the training and feature set size in text categorization for e-discovery"},{"key":"9","doi-asserted-by":"publisher","DOI":"10.1023\/a:1010933404324"},{"key":"10","first-page":"220","article-title":"Probabilistic information retrieval","volume-title":"Introduction to Information Retrieval","author":"C. D. Manning","year":"2009"},{"key":"11","doi-asserted-by":"publisher","DOI":"10.1186\/s12864-019-6413-7"}],"container-title":["Advances in Human-Computer Interaction"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/downloads.hindawi.com\/journals\/ahci\/2021\/5561204.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/downloads.hindawi.com\/journals\/ahci\/2021\/5561204.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/downloads.hindawi.com\/journals\/ahci\/2021\/5561204.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,3,4]],"date-time":"2021-03-04T00:50:17Z","timestamp":1614819017000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.hindawi.com\/journals\/ahci\/2021\/5561204\/"}},"subtitle":[],"editor":[{"given":"Francesco","family":"Bellotti","sequence":"additional","affiliation":[],"role":[{"role":"editor","vocabulary":"crossref"}]}],"short-title":[],"issued":{"date-parts":[[2021,3,3]]},"references-count":11,"alternative-id":["5561204","5561204"],"URL":"https:\/\/doi.org\/10.1155\/2021\/5561204","relation":{},"ISSN":["1687-5907","1687-5893"],"issn-type":[{"type":"electronic","value":"1687-5907"},{"type":"print","value":"1687-5893"}],"subject":[],"published":{"date-parts":[[2021,3,3]]}}}