Skip to main content

Comparative Analysis of Classifiers Based on Spam Data in Twitter Sentiments

  • Conference paper
  • First Online:
Machine Learning, Advances in Computing, Renewable Energy and Communication

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 768))

Abstract

In the present scenario, sentiment analysis has gained much attention in the field of text mining. As social media have a huge impact on one’s life, people use social media as a tool to express their feelings, thoughts, opinions, emotions and ideology. With the help of sentiment analysis, we can provide computational treatment for sentiments, opinions and subjectivity of text. Detecting spams from various social media sites is a challenging task as the messages contain the short informal text. In this paper, we have tested different classifiers on spam data of users’ tweets based on spammer and non-spammers. The classifiers used for the purpose are Naives Bayes, Simple Logistic, J48 pruned tree, Bayes network classifier and Random Forest. Analysis results showed that random forest is proving the highest accuracy among all the algorithms under consideration.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.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. Johnson F, Gupta SK (2012) Web content minings techniques: a survey. Int J Comput Appl 47(11):44

    Google Scholar 

  2. Chaturvedi I, Cambria E, Welsch R, Herrera F (2018) Distinguishing between facts and opinions for sentiment analysis. Surv Chall Inf Fusion 44:65–77

    Google Scholar 

  3. Ganganwar V, Rajalakshmi R (2019) Implicit aspect extraction for sentiment analysis: a survey of recent approaches. In: ICRTAC-disruptive innovation, 2019 November 11–12, 2019, vol 165, pp 485–491

    Google Scholar 

  4. Medhat W, Hassan A, Korashy H (2014) Sentiment analysis algorithms and applications: a survey. Ain Shams Eng J 5(4):1093–1113

    Google Scholar 

  5. Liu B (2012) Sentence analysis and opinion mining. Synth Lect Human Lang Technol

    Google Scholar 

  6. García-Díaz JA, Cánovas-García M, Valencia-García R (2020) Ontology-driven aspect-based sentiment analysis classification: an infodemiological case study regarding infectious diseases in Latin America. Future Generat Comput Syst: FGCS 112:641–657. https://doi.org/10.1016/j.future.2020.06.019

    Article  Google Scholar 

  7. Hussein DME-DM (2016) A survey on sentiment analysis challenges. J King Saud Univ—Eng Sci

    Google Scholar 

  8. Khattak A, Asghar MZ, Saeed A, Hameed IA, Hassan SA et al (2020) A survey on sentiment analysis in urdu: a resource-poor language. Egypt Inf J. https://doi.org/10.1016/j.eij.2020.04.003

    Article  Google Scholar 

  9. Giatsoglou M, Vozalis MG, Diamantaras K, Vakali A, Sarigiannidis G, Chatzisavvas KC (2017) Sentiment analysis leveraging emotions and word embeddings. Expert Syst Appl 69:214–224

    Google Scholar 

  10. Aggarwal S et al (2020) Meta heuristic and evolutionary computation: algorithms and applications. Springer Nature, Berlin, 949 pp. https://doi.org/10.1007/978-981-15-7571-6. ISBN 978–981–15–7571–6

  11. Yadav AK et al (2020) Soft computing in condition monitoring and diagnostics of electrical and mechanical systems. Springer Nature, Berlin, 496 pp. https://doi.org/10.1007/978-981-15-1532-3. ISBN 978–981–15–1532–3

  12. Gopal et al (2021) Digital transformation through advances in artificial intelligence and machine learning. J Intell Fuzzy Syst 1–8 (Pre-press). https://doi.org/10.3233/JIFS-189787

  13. Fatema N et al (2021) Intelligent data-analytics for condition monitoring: smart grid applications. Elsevier, 268 pp. ISBN: 978–0–323–85511–2. https://www.sciencedirect.com/book/9780323855105/intelligent-data-analytics-for-condition-monitoring

  14. Smriti S et al (2018) Special issue on intelligent tools and techniques for signals, machines and automation. J Intell Fuzzy Syst 35(5):4895–4899. https://doi.org/10.3233/JIFS-169773

    Article  Google Scholar 

  15. Jafar A et al (2021) AI and machine learning paradigms for health monitoring system: intelligent data analytics. Springer Nature, Berlin, 496 pp. https://doi.org/10.1007/978-981-33-4412-9. ISBN 978–981–33–4412–9

  16. Sood YR et al (2019) Applications of artificial intelligence techniques in engineering, vol 1. Springer Nature, 643 pp. https://doi.org/10.1007/978-981-13-1819-1. ISBN 978–981–13–1819–1

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

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

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumar, S., Kumar, R., Sidhu (2022). Comparative Analysis of Classifiers Based on Spam Data in Twitter Sentiments. In: Tomar, A., Malik, H., Kumar, P., Iqbal, A. (eds) Machine Learning, Advances in Computing, Renewable Energy and Communication. Lecture Notes in Electrical Engineering, vol 768. Springer, Singapore. https://doi.org/10.1007/978-981-16-2354-7_36

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-2354-7_36

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-2353-0

  • Online ISBN: 978-981-16-2354-7

  • eBook Packages: EnergyEnergy (R0)

Publish with us

Policies and ethics