Utilizing Random Forest Algorithm for Sentiment Prediction Based on Twitter Data
- DOI
- 10.2991/978-94-6463-084-8_37How to use a DOI?
- Keywords
- Classification and Analysis of Sentiment; Random Forest Algorithm; Polarity Analysis; social media; Twitter
- Abstract
Information sharing throughout the globe or universe has become a characteristic of social media. There has been a lot of research into the classification of sentiments. In this study, Twitter has been mined for unstructured GoFood Reviews data. It has been preprocessed to analyze the reviews’ sentiment with polarity analysis, feature extraction with TF-IDF, and supervised learning with random forest. From June 1, 2022, to June 30, 2022, a total of 28763 tweets with the keyword GoFood were retrieved from Twitter. The data is processed by the Python programming language utilizing NLTK, Sastrawi for the Indonesian language, Textblob, TF-IDF, Random Forest Classification, and other algorithms. Twitter is a nearly limitless source for classifying text. This algorithm takes roughly five minutes to compute.
- Copyright
- © 2022 The Author(s)
- Open Access
- Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
Cite this article
TY - CONF AU - Iwan Setiawan AU - Agung Mulyo Widodo AU - Mosiur Rahaman AU - Tugiman AU - Muhammad Abdullah Hadi AU - Nizirwan Anwar AU - Muhammad Bahrul Ulum AU - Erry Yudhya Mulyani AU - Nixon Erzed PY - 2022 DA - 2022/12/26 TI - Utilizing Random Forest Algorithm for Sentiment Prediction Based on Twitter Data BT - Proceedings of the First Mandalika International Multi-Conference on Science and Engineering 2022, MIMSE 2022 (Informatics and Computer Science) (MIMSE-I-C-2022) PB - Atlantis Press SP - 446 EP - 456 SN - 2352-538X UR - https://doi.org/10.2991/978-94-6463-084-8_37 DO - 10.2991/978-94-6463-084-8_37 ID - Setiawan2022 ER -