Abstract
“Computational” sentiment analysis can determine whether a sentiment is favorable, negative, or neutral. Another term for this approach is “opinion mining,” or obtaining a speaker’s sentiments. Businesses use it to develop strategies, learn what customers think about products or brands, how people react to campaigns or new product releases, and why they do not buy certain products. It is used in politics to keep track of political ideas and to check for contradictions between government claims and actions. It can even be used to predict election results! It is also used to track and analyze social phenomena like recognizing dangerous circumstances and evaluating blogging mood. In this paper, we look tackle the problem of sentiment categorization using the Twitter dataset. To analyze sentiment, preprocessing and Naive Bayes classifier approaches are utilized. As a result, we applied a text preprocessing classification accuracy classifying strategy and improved our classification accuracy score on the Kaggle public leaderboard. The aim of this paper is to classify the twitter sentiments using machine learning algorithm based on Naïve Bayes Classifier. The proposed model indicated better accuracy and precision based on performance parameters such as precision, recall and accuracy.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Jha, P., Baranwal, R., Monika, & Tiwari, N. K. (2022). Protection of user’s data in IOT. In IEEE 2022 Second International Conference on Artificial Intelligence and Smart Energy (ICAIS) (pp. 1292–1297)
Soni, G. K., Rawat, A., Jain, S., & Sharma, S. K. (2020). A pixel-based digital medical images protection using genetic algorithm with LSB watermark technique. In Springer smart systems and IoT: Innovations in computing (pp. 483–492)
Soni, G. K., Arora, H., & Jain, B. (2021). A novel image encryption technique using Arnold transform and asymmetric RSA algorithm. In IEEE International Conference on Artificial Intelligence: Advances and Applications 2019. Algorithms for Intelligent Systems (pp. 83–90). Springer.
Shahvaroughi Farahani, M., & Hajiagha, S. H. R. (2021). Forecasting stock price using integrated artificial neural network and metaheuristic algorithms compared to time series models. In Soft computing (pp. 1–31)
Kumar, G., Jain, S., & Singh, U. P. (2020). Stock market forecasting using computational intelligence: A survey. Archives of Computational Methods in Engineering, 1–33.
Jha, P., Biswas, T., Sagar, U., & Ahuja, K. (2021). Prediction with ML paradigm in healthcare system. In IEEE 2021 Second International Conference on Electronics and Sustainable Communication Systems (ICESC) (pp. 1334–1342).
Tripathi, M. (2021). Sentiment analysis of Nepali COVID19 tweets using NB, SVM AND LSTM. Journal of Artificial Intelligence, 3(03), 51–168.
Wongkar, M., & Angdresey, A. (2019). Sentiment analysis using Naive Bayes algorithm of the data crawler: Twitter. In IEEE 2019 Fourth International Conference on Informatics and Computing (ICIC) (pp. 1–5).
Roh, Y., Heo, G., & Whang, S. E. (2021). A survey on data collection for machine learning: A big data—AI integration perspective. IEEE Transactions on Knowledge and Data Engineering (TKD), 33(4), 1328–1347.
Goo, A. M. R. H. S. (2017). Twitter sentiment analysis using deep learning methods. In 2017 7th International Annual Engineering Seminar (InAES).
Prakruthi, V., Sindhu, D., & Anupama Kumar, D. S. (2018). Real time sentiment analysis of Twitter posts. In IEEE 2018 3rd International Conference on Computational Systems and Information Technology for Sustainable Solutions (CSITSS) (pp. 29–34).
Ahuja, K., Khushi, D., & Sharma, N. (2022). Cyber security threats and their connection with Twitter. In 2022 Second International Conference on Artificial Intelligence and Smart Energy (ICAIS) (pp. 1458–1463).
Mandloi, L., & Patel, R. (2020). Twitter sentiments analysis using machine learning methods. In IEEE 2020 International Conference for Emerging Technology (INCET) (pp. 1–5).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Gaur, P., Vashistha, S., Jha, P. (2023). Twitter Sentiment Analysis Using Naive Bayes-Based Machine Learning Technique. In: Shakya, S., Du, KL., Ntalianis, K. (eds) Sentiment Analysis and Deep Learning. Advances in Intelligent Systems and Computing, vol 1432. Springer, Singapore. https://doi.org/10.1007/978-981-19-5443-6_27
Download citation
DOI: https://doi.org/10.1007/978-981-19-5443-6_27
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-5442-9
Online ISBN: 978-981-19-5443-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)