Academic Journal of Computing & Information Science, 2022, 5(8); doi: 10.25236/AJCIS.2022.050812.
Shanghai High School International Division, Shanghai, China
Due to the immense amounts of texts on the internet and the qualitative nature of human sentiment and the characteristics of machine learning and deep learning algorithms, they are potential candidates to be appli-ed in textual sentiment analysis. To compare the effectiveness of different algorithms, processed data using TF-IDF is input into different algorithms respectively, and the accuracy scores of the trials using the identical data-set are recorded for comparison. It turns out that the Extra Trees classifier and the Random Forest classi-fier performed the best among machine learning algorithms, suggesting the significance for reducing overfitting in this specific task given that the less overfitting-proof Decision Tree has performed worse. LSTM has a better ac-curacy score than CNN, though it is to be noted that the former runs significantly slower than the latter, indicating efficiency to be a potential topic to be considered.
Machine Learning, Emotion Recognition of Text, Deep Learning
Xinyi Yao. Automatic Emotion Recognition of Text Stories Based on Deep Learning. Academic Journal of Computing & Information Science (2022), Vol. 5, Issue 8: 81-89. https://doi.org/10.25236/AJCIS.2022.050812.
 Great Learning Team et al. “Multinomial Naive Bayes Explained.” GreatLearning Blog: Free Resources What Matters to Shape Your Career! 7 Mar. 2022, https://www.mygreatlearning.com/blog/ multinomial-naive-bayes-explained/.
 Ameer, Iqra et al. “Multi-Label Emotion Classification on Code-Mixed Text: Data and Methods.” IEEE Access, 2022, https://ieeexplore.ieee.org/document/9682721.
 Balodi, Tanesh. “Convolutional Neural Network with Python Code Explanation: Convolutional Layer: Max Pooling in CNN.” Convolutional Neural Network with Python Code Explanation | Convolutional Layer | Max Pooling in CNN, 2020. https://www.analyticssteps.com/blogs/convolutional-neural-network-cnn-graphical-visualiza-tion- code-explanation.
 Bandhakavi, Anil, et al. “Lexicon Based Feature Extraction for Emotion Text Classification.” 3 June 2017, https://doi.org/10.1016/j.patrec.2016.12.009. Accessed 13 July 2022.
 “Decision Tree Classifier.” Decision Tree Classifier - an Overview | ScienceDirect Topics, 2021 https://www.sciencedirect.com/topics/computer-science/decision-tree-classifier.
 Elton. “Convolutional Neural Networks (Cnns) for NLP.” Python Wife, Python Wife, 8 Dec. 2021, https:// pythonwife.com/ convolutional-neural-networks-cnns-for-nlp/.
 ML: Extra Tree Classifier for Feature Selection.” GeeksforGeeks, 1 July 2020, https:// www.geeksforgeeks. org/ml-extra-tree-classifier-for-feature-selection/.
 Popuri, Sai K. “An Approximation Method for Fitted Random Forests.” ArXivLabs, 5 July 2022, https:// arxiv.org/abs/2207.02184.
 Soni, Sanskar, et al. “TextConvoNet:A Convolutional Neural Network Based Architecture for Text Classification.” ArXivLabs, 10 Mar. 2022, https://arxiv.org/abs/2203.05173.
 “Understanding Logistic Regression.” GeeksforGeeks, 28 June 2022, https://www.geeksforgeeks. org/understanding-logistic-regression/.