Abstract
Aims: Text classification emerged as an important approach to advancing Natural Language Processing (NLP) applications concerning the available text on the web. To analyze the text, many applications are proposed in the literature.
Background: The NLP, with the help of deep learning, has achieved great success in automatically sorting text data in predefined classes, but this process is expensive and time-consuming.
Objectives: To overcome this problem, in this paper, various Machine Learning techniques are studied & implemented to generate an automated system for movie review classification.
Methodology: The proposed methodology uses the Bidirectional Encoder Representations of the Transformer (BERT) model for data preparation and predictions using various machine learning algorithms like XG boost, support vector machine, logistic regression, naïve Bayes, and neural network. The algorithms are analyzed based on various performance metrics like accuracy, precision, recall and F1 score.
Result: The results reveal that the 2-hidden layer neural network outperforms the other models by achieving more than 0.90 F1 score in the first 15 epochs and 0.99 in just 40 epochs on the IMDB dataset, thus reducing the time to a great extent.
Conclusion: 100% accuracy is attained using a neural network, resulting in a 15% accuracy improvement and 14.6% F1 score improvement over logistic regression.
Graphical Abstract
Aligarh, India [http://dx.doi.org/10.1109/IMPACT55510.2022.10029067]
[http://dx.doi.org/10.1142/S0219467820500230]
[http://dx.doi.org/10.1007/978-1-4614-3223-4_6]
[http://dx.doi.org/10.1002/(SICI)1097-4571(199009)41:6<391:AID-ASI1>3.0.CO;2-9]
[http://dx.doi.org/10.14569/IJACSA.2019.0100248]
Bangalore, India [http://dx.doi.org/10.1109/COMSNETS.2014.6734907]
[http://dx.doi.org/10.1111/j.1467-8640.2006.00277.x]
[http://dx.doi.org/10.3390/electronics9030483]
[http://dx.doi.org/10.18653/v1/2020.findings-emnlp.151]
[http://dx.doi.org/10.1007/s13278-021-00737-z] [PMID: 33758630]
[http://dx.doi.org/10.1371/journal.pone.0255615] [PMID: 34411112]
[http://dx.doi.org/10.1016/j.susoc.2022.03.001]
[http://dx.doi.org/10.1016/j.aej.2021.02.009]
[http://dx.doi.org/10.1109/SMART46866.2019.9117512]
[http://dx.doi.org/10.3390/s22114157] [PMID: 35684778]
Hyderabad, India [http://dx.doi.org/10.1007/978-3-319-26832-3_61]
[http://dx.doi.org/10.1080/21681163.2019.1692236]
[http://dx.doi.org/10.2174/1573409916666200102122021] [PMID: 31899680]