Research Article

Advancements in social media sentiment analysis: A study utilizing the PassiveAggressiveClassifier model

Ziying Wang1, Rong Li2,*
1. School of Humanities and Communication, Zhejiang University of Business and Technology, Zhejiang, China
2. Zhejiang Gongshang University Xiasha Campus

* Corresponding author: [email protected]

Abstract

In recent years, social media sentiment analysis has garnered widespread attention and application within academic circles. By scrutinizing textual data from social media users, insights into users' emotional inclinations and attitudes can be gleaned, thereby furnishing vital references for domains such as corporate marketing and public opinion surveillance. Leveraging the PassiveAggressiveClassifier model as a foundation, this study undertakes sentiment analysis on posts across social media platforms including Instagram, Facebook, and Twitter. Through stages encompassing data preprocessing, model training, and performance evaluation, the model achieves an accuracy rate of 71.43% on the test dataset. Experimental findings indicate commendable proficiency of the model in discerning negative sentiments, albeit encountering challenges in classifying neutral sentiments. Future research endeavors may seek to refine model performance, broaden datasets, and explore novel application scenarios, thereby addressing challenges and meeting evolving demands within the realm of social media sentiment analysis.

Keywords: Social Media; Sentiment Analysis; PassiveAggressiveClassifier; TF-IDF
Published: September 2, 2024
DOI: 10.54254/2755-2721/71/20241392
Volume: ACE Vol.71
pp. 150-156
Download PDF

References

  1. Bello-Orgaz, G., Jung, J.J. and Camacho, D., 2016. Social big data: Recent achievements and new challenges. Information Fusion, 28, pp.45-59.
  2. Yue, L., Chen, W., Li, X., Zuo, W. and Yin, M., 2019. A survey of sentiment analysis in social media. Knowledge and Information Systems, 60, pp.617-663.
  3. Ravi, K. and Ravi, V., 2015. A survey on opinion mining and sentiment analysis: tasks, approaches and applications. Knowledge-based systems, 89, pp.14-46.
  4. Rohera, D., Shethna, H., Patel, K., Thakker, U., Tanwar, S., Gupta, R., Hong, W.C. and Sharma, R., 2022. A taxonomy of fake news classification techniques: Survey and implementation aspects. IEEE Access, 10, pp.30367-30394.
  5. Dhar, S., Guo, J., Liu, J., Tripathi, S., Kurup, U. and Shah, M., 2021. A survey of on-device machine learning: An algorithms and learning theory perspective. ACM Transactions on Internet of Things, 2(3), pp.1-49.
  6. Gupta, R. and Roughgarden, T., 2016, January. A PAC approach to application-specific algorithm selection. In Proceedings of the 2016 ACM Conference on Innovations in Theoretical Computer Science (pp. 123-134).
  7. Liu, J., Shen, Z., He, Y., Zhang, X., Xu, R., Yu, H. and Cui, P., 2021. Towards out-of-distribution generalization: A survey. arXiv preprint arXiv:2108.13624.
  8. Lu, J., Zhao, P. and Hoi, S.C., 2016. Online passive-aggressive active learning. Machine learning, 103, pp.141-183.
  9. Lobo, J.L., Del Ser, J., Bifet, A. and Kasabov, N., 2020. Spiking neural networks and online learning: An overview and perspectives. Neural Networks, 121, pp.88-100.
  10. Ali, M. and Tariq, B., 2022. COMSATS University Islamabad.