Skip to main content

Sentiment Analysis Algorithms: Classifiers and Their Comparison

  • Chapter
  • First Online:
Intelligent Computing and Communication Systems

Part of the book series: Algorithms for Intelligent Systems ((AIS))

Abstract

If consumers want something today, the manufacturer cannot let them wait until tomorrow. All businesses need to stay updated on opinion fluctuations over existing products or services so that they can improve upon and can stay ahead in this tough competition. This field of market research is called sentiment analysis and requires structuring of unstructured online text data on a vast scale. Various techniques have already been put forward for this. In this paper, we will study the performance of broadly four such techniques—K nearest neighbours, logistic regression, support vector machine and Naive Bayes, when they are applied on a large dataset of 8500 movie reviews. The comparison and conclusion will be drawn out on the basis of accuracy, precision score, training and testing time.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Hartmann J, Huppertz J, Schamp C (2019) Heitmann M (2019) Comparing automated text classification methods. Int J Res Mark 36(1):20–38. https://doi.org/10.1016/j.ijresmar.2018.09.009

    Article  Google Scholar 

  2. Yang Y (1999) An evaluation to statistical approaches to text categorization. Inf Retrieval. https://doi.org/10.1023/A:1009982220290.(Springer)

    Article  Google Scholar 

  3. Aggarwal CC, Zhai CX (2012) A survey of text classification algorithms. In: Mining text data, vol. 9781461432234. Springer US, pp 163–222. https://doi.org/10.1007/978-1-4614-3223-4_6

  4. Bellman RE (1961) Adaptive control processes. Princeton University Press, Princeton, NJ

    Book  Google Scholar 

  5. Domingos P, Pazzani M (1997, November) On the optimality of the simple Bayesian classifier under zero-one loss. Mach. Learn. (1997) https://doi.org/10.1023/A:1007413511361. (Springer)

  6. Pang B, Lee L, Vaithyanathan S (2002, July) Sentiment classification using machine learning techniques. In: EMNLP’02: proceedings of the ACL-02 conference on empirical methods in natural language processing, vol 10, pp 79–86. https://doi.org/10.3115/1118693.1118704

  7. Joachims T (1998) Text categorization with support vector machines: learning with many relevant features. In: NĂ©dellec, C., Rouveirol, C. (Eds) Machine learning: ECML-98. ECML 1998. Lecture notes in computer science (Lecture notes in artificial intelligence), vol 1398. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0026683

  8. Bennett KP, Campbell C (2000) Support vector machines: hype or hallelujah? In: ACM SIGKDD explorations newsletter (2000, December). https://doi.org/10.1145/380995.380999

  9. Bermingham A, Smeaton AF (2010, October) Classifying sentiment in microblogs: is brevity an advantage? In: CIKM’10: Proceedings of the 19th ACM international conference on Information and knowledge management, pp 1833–1836. https://doi.org/10.1145/1871437.1871741

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Joshi, S., Dubey, R., Tiwari, A., Jindal, P. (2021). Sentiment Analysis Algorithms: Classifiers and Their Comparison. In: Singh, B., Coello Coello, C.A., Jindal, P., Verma, P. (eds) Intelligent Computing and Communication Systems. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-16-1295-4_21

Download citation

Publish with us

Policies and ethics