Optimizing Accuracy of Sentiment Analysis Using Deep Learning Based Classification Technique

  • Jaspreet SinghEmail author
  • Gurvinder Singh
  • Rajinder Singh
  • Prithvipal Singh
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 799)


The sentiment or opinion of a person expressed with words and phrases reflect the thoughts of polarities ranging from positive to neutral as well as negative. The emotions hidden in expressions indicate positivity or negativity in the opinion such as words DISTRESS ejaculates more negativity than the word SAD does. Sentiment analysis is the study of concepts of polarities hidden in natural languages. The use of natural language processing is to elucidate information hidden inside the text referred to as sentiment analysis. Sentiment analysis is widely applied to reviews of social media for a variety of applications covering the domains of business, health and government performance evaluations. This type of evaluation extracts the attitude of an author with respect to the context of the topic that to what extent whether the hidden information is related to joy/sadness, amaze/anger, positive and negative emotions. This paper will introduce the proposed technique with Convolution Neural Network used for text classification. The performance of proposed classifier is validated against the performance of Naïve Bayes, J48, BFTree, OneR, LDA and SVM. Examination of efficacies is done on three manually annotated datasets, one dataset is taken from IMDB movie portal and two datasets are infatuated from Amazon product reviews. The accuracies of these seven machine learning techniques are compared and the proposed technique is noticed more precise in generating the accuracy of 85.2% in precision, 82.9% in F-measure and 85.46% of correctly classified sentiment.


Sentiment prediction Opinion classification Movie reviews Product services Convolution Neural Network 


  1. 1.
    Kiritchenko, S., Mohammad, S.M.: Sentiment composition of words with opposing polarities. In: Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2016).
  2. 2.
    Dashtipour, K., Poria, S., Hussain, A., Cambria, E., Hawalah, A.Y., Gelbukh, A., Zhou, Q.: Multilingual sentiment analysis: state of the art and independent comparison of techniques. Cogn. Comput. 8(4), 757–771 (2016). Scholar
  3. 3.
    Joachims, T.: Text classification. In: Joachims, L. (ed.) Learning to Classify Text Using Support Vector Machines. Springer, Boston (2002). Scholar
  4. 4.
    Mohammad, S.M., Zhu, X., Kiritchenko, S., Martin, J.: Sentiment, emotion, purpose, and style in electoral Tweets. Inf. Process. Manag. 51(4), 480–499 (2015). Scholar
  5. 5.
    Sobhani, P., Mohammad, S., Kiritchenko, S.: Detecting stance in Tweets and analyzing its interaction with sentiment. In: Proceedings of the Fifth Joint Conference on Lexical and Computational Semantics (2016).
  6. 6.
    Turney, P.D., Mohammad, S.M.: Experiments with three approaches to recognizing lexical entailment. Nat. Lang. Eng. 21(03), 437–476 (2014). Scholar
  7. 7.
    Poria, S., Cambria, E., Winterstein, G., Huang, G.: Sentic patterns: dependency-based rules for concept-level sentiment analysis. Knowl. Based Syst. 69, 45–63 (2014). Scholar
  8. 8.
    Mohammad, S., Kiritchenko, S., Sobhani, P., Zhu, X., Cherry, C.: SemEval-2016 task 6: detecting stance in Tweets. In: Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016).
  9. 9.
    Kiritchenko, S., Mohammad, S., Salameh, M.: SemEval-2016 task 7: determining sentiment intensity of English and Arabic phrases. In: Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016) (2016).
  10. 10.
    Salameh, M., Mohammad, S., Kiritchenko, S.: Sentiment after translation: a case-study on Arabic social media posts. In: Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2015).
  11. 11.
    Socher, R.: Deep learning for sentiment analysis - invited talk. In: Proceedings of the 7th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis (2016).
  12. 12.
    Bermingham, A., Conway, M., McInerney, L., O’Hare, N., Smeaton, A.F.: Combining social network analysis and sentiment analysis to explore the potential for online radicalisation. In: 2009 International Conference on Advances in Social Network Analysis and Mining (2009).
  13. 13.
    Cambria, E., White, B.: Jumping NLP curves: a review of natural language processing research [review article]. IEEE Comput. Intell. Mag. 9(2), 48–57 (2014). Scholar
  14. 14.
    Cernian, A., Sgarciu, V., Martin, B.: Sentiment analysis from product reviews using SentiWordNet as lexical resource. In: 2015 7th International Conference on Electronics, Computers and Artificial Intelligence (ECAI) (2015).
  15. 15.
    Chetty, G., Wagner, M., Goecke, R.: A multilevel fusion approach for audiovisual emotion recognition. A Pattern Anal. Approach 437–460 (2015).
  16. 16.
    Parvathy, G., Bindhu, J.S.: A probabilistic generative model for mining cybercriminal network from online social media: a review. Int. J. Comput. Appl. 134(14), 1–4 (2016). Scholar
  17. 17.
    Hammer, H.L., Solberg, P.E., Øvrelid, L.: Sentiment classification of online political discussions: a comparison of a word-based and dependency-based method. In: Proceedings of the 5th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis (2014).
  18. 18.
    Wanton, T. M., et al. OPINION POLARITY DETECTION - using word sense disambiguation to determine the polarity of opinions. In: Proceedings of the 2nd International Conference on Agents and Artificial Intelligence (2010).
  19. 19.
    Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up? In: Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing - EMNLP 2002 (2002).
  20. 20.
    Poria, S., Cambria, E., Gelbukh, A., Bisio, F., Hussain, A.: Sentiment data flow analysis by means of dynamic linguistic patterns. IEEE Comput. Intell. Mag. 10(4), 26–36 (2015). Scholar
  21. 21.
    Xia, Y., Cambria, E., Hussain, A., Zhao, H.: Word polarity disambiguation using Bayesian model and opinion-level features. Cogn Comput 7(3), 369–380 (2014). Scholar
  22. 22.
    Zadeh, L.: Toward human-level machine intelligence. In: 2006 18th IEEE International Conference on Tools with Artificial Intelligence (ICTAI 2006) (2006).
  23. 23.
    Noman, N., et. al.: Analysis of different classification techniques for two class functional near infrared spectroscopy based based-computer interaction. Computat. Intell. Neurosci. (2016).
  24. 24.
    Poria, S., et al.: Deep learning based document modeling for personality detection from text. IEEE Intell. Syst. 32, 74–79 (2017). Scholar
  25. 25.
    Tan, S., Zhang, J.: An empirical study of sentiment analysis for Chinese documents. Expert Syst. Appl. 34(4), 2622–2629 (2008). Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2018

Authors and Affiliations

  1. 1.Guru Nanak Dev UniversityAmritsarIndia
  2. 2.Faculty of EngineeringGuru Nanak Dev UniversityAmritsarIndia
  3. 3.Department of Computer ScienceGuru Nanak Dev UniversityAmritsarIndia

Personalised recommendations