The rapid development of digital technology brings about the importance of product or service opinions as a data source in business intelligence. Sentiment analysis is a business intelligence tool that can help gauge market trends by analysing the available opinions. Various studies have been developed to solve sentiment analysis problems, from selecting feature engineering techniques to selecting sentiment classification models based on classical or deep learning methods. However, these studies still select hyperparameters on a trial basis, which poses problems in terms of time and not optimal performance. Therefore, this research proposes the implementation of Bayesian Optimization to automate the selection of hyperparameters in sentiment analysis based on a Convolutional Neural Network (CNN). The results show that implementing the Bayesian Optimization method has the lowest computation time compared to Random and Grid Searches, which is only 175.746765 seconds, in the fifth trial. In addition, it made a reasonably large cut in terms of times compared to manual trial-based hyperparameter tuning that needs 540 trials. In the model assessment process, implementing Bayesian Optimization gives the highest values on Precision and Specificity, which are 0.8168 and 0.7176, respectively. Thus, implementing Bayesian Optimization is the right choice for sentiment analysis tasks since the precision of predicting negative sentiment classes is vital in hospitality business intelligence, especially the use of related information for product improvement or hotel service improvement. The implementation of Bayesian Optimization not only applied as a reliable hyperparameter selection technique for classification tasks but also regression prediction tasks.
Read full abstract