Abstract
The number of Websites and the volume of posts published on the Internet have increased dramatically in recent years. The ability to automatically assess the political polarity of a post (text) can be useful in a variety of fields including security and academics. The sentiment classification of postings, on the other hand, appears to be more complicated compared to classifying the sentiment of traditional texts. The classification procedure adopted in this research uses XGBoost algorithm and bag of word as feature extraction. To test the accuracy of the approach, the study used the confusion matrix. The proposed approach achieved 95.161 accuracy percentage.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
B. Pang, L. Lee, Opinion mining and sentiment analysis. Found. Trends® Inf. Ret. 2(1–2), 1–135 (2008)
B. Liu, Sentiment analysis and subjectivity, in Handbook of Natural Language Processing, vol. 2, no. 2010 (2010), pp. 627–666
B. Liu, Sentiment analysis and opinion mining. Synth. Lect. Hum. Lang. Technol. 5(1), 1–167 (2012)
C. Tan, L. Lee, J. Tang, L. Jiang, M. Zhou, P. Li, User-level sentiment analysis incorporating social networks, in Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (ACM, 2011), pp. 1397–1405
D.H. Abd, A.R. Abbas, A.T. Sadiq, Analyzing sentiment system to specify polarity by lexicon-based. Bull. Electr. Eng. Inform. 10(1), 283–289 (2021)
R. Xia, C. Zong, S. Li, Ensemble of feature sets and classification algorithms for sentiment classification. Inf. Sci. 181(6), 1138–1152 (2011)
J.K. Alwan, A.J. Hussain, D.H. Abd, A.T. Sadiq, M. Khalaf, P. Liatsis, Political Arabic articles orientation using rough set theory with sentiment lexicon. IEEE Access 9, 24475–24484 (2021)
T. Chen, C. Guestrin, XGBoost: a scalable tree boosting system, in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (2016), pp. 785–794
J.A. Balazs, J.D. Velásquez, Opinion mining and information fusion: a survey. Inf. Fusion 27, 95–110 (2016)
W. Medhat, A. Hassan, H. Korashy, Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5(4), 1093–1113 (2014)
K. Ravi, V. Ravi, A survey on opinion mining and sentiment analysis: tasks, approaches and applications. Knowl.-Based Syst. 89, 14–46 (2015)
B. Pang, L. Lee, S. Vaithyanathan, Thumbs up?: sentiment classification using machine learning techniques, in Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing, vol. 10 (Association for Computational Linguistics, 2002), pp. 79–86
M.A. Hearst, Direction-based text interpretation as an information access refinement, in Text-Based Intelligent Systems: Current Research and Practice in Information Extraction and Retrieval (1992), pp. 257–274
W. Sack, On the computation of point of view, in AAAI (1994), p. 1488
A. Huettner, P. Subasic, Fuzzy typing for document management, in ACL 2000 Companion Volume: Tutorial Abstracts and Demonstration Notes (2000), pp. 26–27
S. Das, M. Chen, Yahoo! for Amazon: extracting market sentiment from stock message boards, in Proceedings of the Asia Pacific Finance Association Annual Conference (APFA), vol. 35 (Bangkok, Thailand, 2001), p. 43
Z. Wang, V.J.C. Tong, P. Ruan, F. Li, Lexicon knowledge extraction with sentiment polarity computation, in 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW) (IEEE, 2016), pp. 978–983
V. Hatzivassiloglou, K.R. McKeown, Predicting the semantic orientation of adjectives, in Proceedings of the 35th Annual Meeting of the Association for Computational Linguistics and Eighth Conference of the European Chapter of the Association for Computational Linguistics (Association for Computational Linguistics, 1997), pp. 174–181
P.D. Turney, M.L. Littman, Unsupervised learning of semantic orientation from a hundred-billion-word corpus. arXiv preprint cs/0212012 (2002)
D.H. Abd, A.T. Sadiq, A.R. Abbas, PAAD: political Arabic articles dataset for automatic text categorization. Iraqi J. Comput. Inform. 46(1), 1–10 (2020)
D.H. Abd, A.T. Sadiq, A.R. Abbas, Classifying political Arabic articles using support vector machine with different feature extraction, in International Conference on Applied Computing to Support Industry: Innovation and Technology (Springer, 2019), pp. 79–94
A. Oussous, A.A. Lahcen, S. Belfkih, Impact of text pre-processing and ensemble learning on Arabic sentiment analysis, in Proceedings of the 2nd International Conference on Networking, Information Systems & Security (ACM, 2019), p. 65
D.H. Abd, A.T. Sadiq, A.R. Abbas, Political articles categorization based on different Naïve Bayes models, in International Conference on Applied Computing to Support Industry: Innovation and Technology (Springer, 2019), pp. 286–301
N. Hardeniya, J. Perkins, D. Chopra, N. Joshi, I. Mathur, Natural Language Processing: Python and NLTK (Packt Publishing Ltd, 2016)
M. Mustafa, A.S. Eldeen, S. Bani-Ahmad, A.O. Elfaki, A comparative survey on Arabic stemming: approaches and challenges. Intell. Inf. Manag. 9(02), 39 (2017)
R. Abooraig, S. Al-Zu’bi, T. Kanan, B. Hawashin, M. Al Ayoub, I. Hmeidi, Automatic categorization of Arabic articles based on their political orientation. Digit. Investig. 25, 24–41 (2018)
D.H. Abd, W. Khan, K.A. Thamer, A.J. Hussain, Arabic light stemmer based on ISRI stemmer, in International Conference on Intelligent Computing (Springer, 2021), pp. 32–45
C.C. Aggarwal, C. Zhai, A survey of text classification algorithms, in Mining Text Data (Springer, 2012), pp. 163–222
D.H. Abd, A.T. Sadiq, A.R. Abbas, Political Arabic articles classification based on machine learning and hybrid vector, in 2020 5th International Conference on Innovative Technologies in Intelligent Systems and Industrial Applications (CITISIA) (IEEE, 2020), pp. 1–7
R. Mitchell, E. Frank, Accelerating the XGBoost algorithm using GPU computing. PeerJ Comput. Sci. 3, e127 (2017)
M. Khalaf et al., An application of using support vector machine based on classification technique for predicting medical data sets, in International Conference on Intelligent Computing (Springer, 2019), pp. 580–591
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Nsaif, A.A., Abd, D.H. (2022). Sentiment Analysis of Political Post Classification Based on XGBoost. In: Bashir, A.K., Fortino, G., Khanna, A., Gupta, D. (eds) Proceedings of International Conference on Computing and Communication Networks. Lecture Notes in Networks and Systems, vol 394. Springer, Singapore. https://doi.org/10.1007/978-981-19-0604-6_16
Download citation
DOI: https://doi.org/10.1007/978-981-19-0604-6_16
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-0603-9
Online ISBN: 978-981-19-0604-6
eBook Packages: EngineeringEngineering (R0)