Skip to main content

Intelligent Models for Mining Social Media Data

  • Conference paper
  • First Online:
Advances on Smart and Soft Computing

Abstract

Social media produces enormous amounts of unutilized data. Through machine learning and text analytics techniques, organizations and individuals alike can use such data to extract a great deal of information. The type of information can be used in a plethora of ways; with techniques such as sentiment analysis allowing organizations to determine public reception to their products or finding trendy topics through the application of topic extraction. This paper outlines the process taken to develop a machine learning model that analyzes social media posts and extracts the post’s sentiment and topic. A multinomial Naïve Bayes model and a random forest model were trained for each objective to gauge which learning algorithm performs better with accuracy and F-Score being performance metrics. The results showcased that even with relatively simple implementations, and the analysis results on unseen social media posts produced promising accuracy results with short training time, with the multinomial Naïve Bayes model outperforming the random forest model.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Similar content being viewed by others

References

  1. Elyassami, S., Kaddour, A.: Implementation of an incremental deep learning model for survival prediction of cardiovascular patients. IAES Int. J. Artif. Intell. 10(1), 101–109 (2021). ISSN 2252-8938

    Google Scholar 

  2. Elyassami, S., Hamid, Y., Habuza, T.: Road crashes analysis and prediction using gradient boosted and random forest trees. 2020 6th IEEE Congress on Information Science and Technology (CiSt), Agadir-Essaouira, Morocco, pp. 520–525 (2020). https://doi.org/10.1109/CiSt49399.2021.9357298

  3. Felix, N., Hruschka, E., Hruschka, E.: Tweet sentiment analysis with classifier ensembles. Decis. Support Syst. 66 (2014). https://doi.org/10.1016/j.dss.2014.07.003

  4. Sailunaz, K., Alhajj, R.: Emotion and sentiment analysis from Twitter text. J. Comput. Sci. 36, 101003 (2019). ISSN 1877-7503, https://doi.org/10.1016/j.jocs.2019.05.009

  5. Martínez-Cámara, E., Martín-Valdivia, M., Ureña-López, L., Montejo-Ráez, A.: Sentiment analysis in Twitter. Nat. Lang. Eng. 20(1), 1–28 (2014). https://doi.org/10.1017/S1351324912000332

    Article  Google Scholar 

  6. Gautam, G., Yadav, D.: Sentiment analysis of twitter data using machine learning approaches and semantic analysis. In: Seventh International Conference on Contemporary Computing (IC3), Noida, pp. 437–442 (2014). https://doi.org/10.1109/IC3.2014.6897213

  7. Yu, D., Xu, D., Wang, D., Ni, Z.: Hierarchical topic modeling of twitter data for online analytical processing. IEEE Access 7, 12373–12385 (2019). https://doi.org/10.1109/ACCESS.2019.2891902

    Article  Google Scholar 

  8. Shakeri Hossein Abad, Z., Gervase, V., Zowghi, D., Far, B.: Supporting analysts by dynamic extraction and classification of requirements-related knowledge. In: IEEE/ACM 41st International Conference on Software Engineering (ICSE), Montreal, QC, Canada, pp. 442–453 (2019). https://doi.org/10.1109/ICSE.2019.00057

  9. Blei, D., Ng, A., Jordan, M.: Latent Dirichlet allocation. J. Mach. Learn. Res. 3 (2003). Available: https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf

  10. Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision. CS224N Project Report, Stanford, pp. 1–12 (2009)

    Google Scholar 

  11. Lang, K.: 20 Newsgroups, Home Page for 20 Newsgroups Data Set, (2008) (Online). Available: http://qwone.com/~jason/20Newsgroups/

  12. Agarwal, A., Xie, B., Vovsha, I., Rambow, O., Passonneau, R.: Sentiment Analysis of Twitter Data, Aclweb.org (2011) (Online). Available: https://www.aclweb.org/anthology/W11-0705.pdf

  13. Kouloumpis, E., Wilson, T., Moore, J.: Twitter Sentiment Analysis: The Good the Bad and the OMG! https://ojs.aaai.org/index.php/ (2011). Online. Available: https://ojs.aaai.org/index.php/ICWSM/article/view/14185/14034

  14. Kumar, V., Khosla, C.: Data cleaning—a thorough analysis and survey on unstructured data. In: 8th International Conference on Cloud Computing, Data Science & Engineering (Confluence), Noida, pp. 305–309 (2018). https://doi.org/10.1109/CONFLUENCE.2018.8442950.00

  15. Zhu, R., et al.: Automatic real-time mining software process activities from SVN logs using a Naive Bayes classifier. IEEE Access 7, 146403–146415 (2019). https://doi.org/10.1109/ACCESS.2019.2945608

    Article  Google Scholar 

  16. Denisko, D., Hoffman, M.: Classification and interaction in random forests. Proc. Natl. Acad. Sci. 115, 1690–1692 (2018)

    Article  Google Scholar 

  17. Galdi, P., Tagliaferri, R.: Data mining: accuracy and error measures for classification and prediction. In: Encyclopedia of Bioinformatics and Computational Biology, pp. 431–436 (2018)

    Google Scholar 

  18. Powers, D.: Evaluation: from precision, recall and Fmeasure to ROC, informedness, markedness and correlation. arXiv preprint arXiv:2010.16061 (2020)

  19. Oriola, O., E. Kotzé, E.: Evaluating machine learning techniques for detecting offensive and hate speech in South African Tweets. IEEE Access 8, 21496–21509 (2020). https://doi.org/10.1109/ACCESS.2020.2968173

  20. Devika, M., Sunitha, C., Ganesh, A.: Sentiment analysis: a comparative study on different approaches. Procedia Comput. Sci. 87, 44–49 (2016). ISSN 1877-0509. https://doi.org/10.1016/j.procs.2016.05.124

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sanaa Elyassami .

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

Elyassami, S., Albloushi, S., Alnuaimi, M.A., Alhosani, O., Al Ali, H., Almarashda, K. (2022). Intelligent Models for Mining Social Media Data. In: Saeed, F., Al-Hadhrami, T., Mohammed, E., Al-Sarem, M. (eds) Advances on Smart and Soft Computing. Advances in Intelligent Systems and Computing, vol 1399. Springer, Singapore. https://doi.org/10.1007/978-981-16-5559-3_17

Download citation

Publish with us

Policies and ethics