HyVADRF: Hybrid VADER–Random Forest and GWO for Bitcoin Tweet Sentiment Analysis
Open Access
- 26 September 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 101889-101897
Abstract
In recent years, Bitcoin and other cryptocurrencies have been increasingly considered investment options for emerging markets. However, Bitcoin’s erratic behavior has discouraged some potential investors. To get insights into its behavior and price fluctuation, past studies have discovered the correlation between Twitter sentiments and Bitcoin behavior. Most of them have exclusively focused on their relationships, instead of the Twitter sentiment analysis itself. Finding the most suitable classification algorithms for sentiment analysis for this kind of data is challenging. For the enormous data in Twitter, the supervised sentiment analysis approach of unlabeled data can be time-consuming and expensive, which has been studied to be superior to unsupervised ones. As such, we propose the HyVADRF (hybrid valence aware dictionary and sentiment reasoner (VADER)–random forest) and gray wolf optimizer (GWO) model. A semantic and rule-based VADER was used to calculate polarity scores and classify sentiments, which overcame the weakness of manual labeling, while a random forest was utilized as its supervised classifier. Furthermore, considering Twitter’s massive size, we collected over 3.6 million tweets and analyzed various dataset sizes as these are related to the model’s learning process. Lastly, GWO parameter tuning was conducted to optimize the classifier’s performance. The results show that 1) the HyVADRF model had an accuracy of 75.29%, precision of 70.22%, recall of 87.70%, and F1-score of 78%. 2) The most ideal dataset size percentage is 90% of the total collected tweets ( $n =1$ ,249,060). 3) The standard deviations are 0.0008 for accuracy and F1-score and 0.0011 for precision and recall. Hence, the HyVADRF model consistently delivers stable results.Keywords
Funding Information
- Ministry of Higher Education, Science, Research and Innovation, Thailand (2046735)
- APNIC Foundation (SWITCH SEA -TH-03)
This publication has 44 references indexed in Scilit:
- Effectiveness of Random Search in SVM hyper-parameter tuning2015
- What Are the Main Drivers of the Bitcoin Price? Evidence from Wavelet Coherence AnalysisPLOS ONE, 2015
- Grey Wolf OptimizerAdvances in Engineering Software, 2014
- The power of prediction with social mediaInternet Research, 2013
- A Survey of Text Classification Algorithms2012
- Bacterial Foraging OptimizationInternational Journal of Swarm Intelligence Research, 2010
- Biologically inspired optimization: a reviewTransactions of the Institute of Measurement and Control, 2009
- Feature selection based-on genetic algorithm for image annotationKnowledge-Based Systems, 2008
- A statistical interpretation of term specificity and its application in retrievalJournal of Documentation, 2004
- Machine learning in automated text categorizationACM Computing Surveys, 2002