Research Article

Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification

Volume: 13 Number: 3 September 1, 2023
EN

Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification

Abstract

This study presents a comparison of four different machine learning algorithms for sentiment analysis on a small subset of the AR-P (Amazon Reviews - Polarity) dataset. The algorithms evaluated are multilayer perceptron (MLP), Naive Bayes, Decision Tree, and Transformer architectures. The results show that the Transformer-based DistilBERT model performed the best with an accuracy rate of 96.10%, while MLP had a better performance than the other remaining methods. Confusion matrices and ROC curves are provided to illustrate the results, and a comparison with previous studies is presented. The study concludes that the results can serve as a basis for future work, such as using larger datasets or comparing the performance of algorithms on different tasks. Overall, this study provides insights into the use of traditional machine learning and modern deep learning methods for sentiment analysis and their potential applications in real-world scenarios.

Keywords

References

  1. Abdi, A., Shamsuddin, S. M., Hasan, S., & Piran, J. (2019). Deep learning-based sentiment classification of evaluative text based on Multi-feature fusion. Information Processing & Management, 56(4), 1245-1259.
  2. Ain, Q. T., Ali, M., Riaz, A., Noureen, A., Kamran, M., Hayat, B., & Rehman, A. (2017). Sentiment analysis using deep learning techniques: a review. International Journal of Advanced Computer Science and Applications, 8(6).
  3. Alexandridis, G., Varlamis, I., Korovesis, K., Caridakis, G., & Tsantilas, P. (2021). A survey on sentiment analysis and opinion mining in greek social media. Information, 12(8), 331.
  4. Al-Garadi, M. A., Yang, Y. C., Cai, H., Ruan, Y., O’Connor, K., Graciela, G. H., ... & Sarker, A. (2021). Text classification models for the automatic detection of nonmedical prescription medication use from social media. BMC Medical Informatics and Decision Making, 21(1), 1-13. DOI: 10.1186/s12911-021-01488-1
  5. Balahur, A., Turchi, M., & Steinberger, R. (2013). Multilingual sentiment analysis using machine translation–based techniques. ACM Transactions on Intelligent Systems and Technology (TIST), 4(1), 1-26. DOI: 10.1145/2444776.2444777
  6. Bayat, S., & Işık, G. (2022). Recognition of Aras Bird Species From Their Voices With Deep Learning Methods. Journal of the Institute of Science and Technology, 12(3), 1250-1263.
  7. Bollen, J., Mao, H., &. Zeng, X. (2011). Twitter mood predicts the stock market. Journal of Computational Science, 2(1), 1-8. https://doi.org/10.1016/j.jocs.2010.12.007
  8. Boyko, N., & Boksho, K. (2020, November). Application of the Naive Bayesian Classifier in Work on Sentimental Analysis of Medical Data. In Proceedings of the International Conference on Intelligent Data and Digital Medicine (IDDM) (pp. 230-239).

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Early Pub Date

August 29, 2023

Publication Date

September 1, 2023

Submission Date

May 5, 2023

Acceptance Date

May 29, 2023

Published in Issue

Year 2023 Volume: 13 Number: 3

APA
Bayat, S., & Işık, G. (2023). Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification. Journal of the Institute of Science and Technology, 13(3), 1496-1510. https://doi.org/10.21597/jist.1292050
AMA
1.Bayat S, Işık G. Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification. J. Inst. Sci. and Tech. 2023;13(3):1496-1510. doi:10.21597/jist.1292050
Chicago
Bayat, Seda, and Gültekin Işık. 2023. “Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification”. Journal of the Institute of Science and Technology 13 (3): 1496-1510. https://doi.org/10.21597/jist.1292050.
EndNote
Bayat S, Işık G (September 1, 2023) Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification. Journal of the Institute of Science and Technology 13 3 1496–1510.
IEEE
[1]S. Bayat and G. Işık, “Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification”, J. Inst. Sci. and Tech., vol. 13, no. 3, pp. 1496–1510, Sept. 2023, doi: 10.21597/jist.1292050.
ISNAD
Bayat, Seda - Işık, Gültekin. “Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification”. Journal of the Institute of Science and Technology 13/3 (September 1, 2023): 1496-1510. https://doi.org/10.21597/jist.1292050.
JAMA
1.Bayat S, Işık G. Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification. J. Inst. Sci. and Tech. 2023;13:1496–1510.
MLA
Bayat, Seda, and Gültekin Işık. “Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification”. Journal of the Institute of Science and Technology, vol. 13, no. 3, Sept. 2023, pp. 1496-10, doi:10.21597/jist.1292050.
Vancouver
1.Seda Bayat, Gültekin Işık. Evaluating the Effectiveness of Different Machine Learning Approaches for Sentiment Classification. J. Inst. Sci. and Tech. 2023 Sep. 1;13(3):1496-510. doi:10.21597/jist.1292050

Cited By