Discussion:
The results of this systematic literature review demonstrate that machine learning algorithms can be effective in predicting social media sentiment analysis, achieving an overall mean accuracy of 79.5%. The findings of this literature review support previous studies in the field that have reported similar high levels of accuracy in using machine learning algorithms for sentiment analysis (Zhang et al., 2020). However, it should be acknowledged that achieving high accuracy in sentiment analysis using machine learning algorithms is complex, and the results of this literature review must be interpreted in light of potential limitations and challenges.
One factor identified in this review that influences the effectiveness of machine learning algorithms in sentiment analysis is the choice of algorithm. Different algorithms have been found to perform differently in predicting sentiment analysis on social media platforms. For example, Random Forest has been found to outperform other algorithms in several studies (Gong et al., 2019; Darwish et al., 2020), whereas other studies have reported successful results with Naive Bayes (Liu et al., 2018) or Support Vector Machine (SVM) (Li et al., 2018). Therefore, the choice of the algorithm should be based on the specific research question and the nature of the data to be analyzed.
Another issue is the nature of the social media platform being analyzed. Different platforms have unique features that pose various challenges in sentiment analysis. For example, Twitter character limits make it difficult to capture the full context of a tweet, while Instagram being image-focused requires algorithms that analyze images as well as text (Wu et al., 2021). Therefore, the selection of machine learning algorithms for sentiment analysis must consider the specific characteristics of the platform being analyzed to achieve accurate results.
Moreover, identifying the data type is an essential factor when selecting the best algorithm for sentiment analysis. Text data is the most commonly analyzed data type in sentiment analysis research, but other data types, such as image, video, and audio, can provide supplementary insights into sentiment analysis (Khan et al., 2020). Studies have shown that combining multimedia data with text data generates better results in predicting sentiment analysis (Zhu et al., 2019).
While the results of this review suggest that machine learning algorithms have high accuracy in predicting sentiment analysis, the research topic is still relatively new. Therefore, there are limitations that must be considered before interpreting these findings. First, the studies included in the review used different performance measures, making it difficult to compare the results. This highlights the need for standardized performance measures in sentiment analysis studies to enable accurate comparison of results.
Second, a limited dataset was used in several studies, which may not provide representative findings. The performance of the machine learning algorithms may change with a larger dataset, and the challenges associated with sentiment analysis may also vary in different contexts. Therefore, future research should consider validating the usefulness of machine learning algorithms using larger datasets.