Classification of Customer Tweets Using Big Data Analytics

  • Abeer Nafel Alharbi
  • Hessah Alnnamlah
  • Liyakathunisa
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 753)


Word of mouth has a great impact on commercial planning and decision-making. Social media is considered as one of the greatest media to spread customer’s opinion about product. Twitter in particular serves as a platform to share people opinion with the words. Decision makers nowadays are seeking analysis approaches on customer tweets to classify whether a customer is satisfied or unhappy. But the enormous number of tweets per seconds and the live streaming of twitter require big data processors in order to support decision-making. In this paper, we propose a recommender system that helps decision makers to fetch customer streaming tweets and classifies their opinion within seconds. We aim to achieve that by applying Naïve Bayes algorithm using big data machine learning approach, Apache Hadoop and Mahout tools are used. The result of our finding is a recommender system that can be used to classify any new customer tweets. The accuracy of the model is 99.39% which promises accurate results in identifying negative or positive customer opinion about a product in a tweet.


Big Data Analytics Recommender system Mahout Tweets Sentiment analysis 


  1. 1.
    Data Analytics and Sentiment Analysis (2016).
  2. 2.
    Das, T.K., Acharjya, D.P., Patra, M.R.: Opinion mining about a product by analyzing public tweets in Twitter, pp. 3–6 (2014)Google Scholar
  3. 3.
    Vishal, A., Sonawane, P.: Sentiment analysis of twitter data: a survey of techniques. Int. J. Comput. Appl. (0975–8887) 139(11), 5–15 (2016)Google Scholar
  4. 4.
    Pak, A., Paroubek, P.: Twitter as a corpus for sentiment analysis and opinion mining. In: Proceedings of the Seventh Conference on International Language Resources and Evaluation, pp. 1320–1326 (2010)Google Scholar
  5. 5.
    Agarwal, A., Xie, B., Vovsha, I., Rambow, O., Passonneau, R.: Sentiment analysis of twitter data. In: Proceedings of the ACL 2011 Workshop on Languages in Social Media, pp. 30–38 (2011)Google Scholar
  6. 6.
    Neethu, M.S., Rajashree, R.: Sentiment analysis in twitter using machine learning techniques. In: 4th ICCCNT, Tiruchengode, India. IEEE (2013)Google Scholar
  7. 7.
    Gautam, G., Yadav, D.: Sentiment analysis of twitter data using machine learning approaches and semantic analysis. In: Seventh International Conference on Contemporary Computing (IC3), India. IEEE (2014)Google Scholar
  8. 8.
    Amolik, A., Jivane, N., Bhandari, M., Venkatesan, M.: Twitter sentiment analysis of movie reviews using machine learning techniques. Int. J. Eng. Technol. (IJET) 7, 1–7 (2016)Google Scholar
  9. 9.
    Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision processing, pp. 1–6 (2009)Google Scholar
  10. 10.
    Manning, C.D., Schutze, H.: Foundations of Statistical Natural Language Processing. MIT Press, Cambridge (1999)zbMATHGoogle Scholar
  11. 11.
    Geser, H.: Tweeted thoughts and twittered relationships. In: Sociology in Switzerland: Toward Cybersociety and Vireal Social Relations, Zuerich, February 2009Google Scholar
  12. 12.
  13. 13.
  14. 14.
    Blasch, E., et al.: Scalable sentiment classification for Big data analysis using Naïve Bayes classifier (2013)Google Scholar
  15. 15.
    Dean, J., Ghemawat, S.: Mapreduce: simplified data processing on large clusters. In: Proceedings of the 6th Conference on Symposium on Operating Systems Design & Implementation, OSDI 2004, Berkeley, CA, USA, vol. 6. USENIX Association (2004)Google Scholar
  16. 16.
    Dean, J., Ghemawat, S.: Mapreduce: simplified data processing on large clusters. Commun. ACM 51(1), 107–113 (2008)CrossRefGoogle Scholar
  17. 17.
    Apache Mahout: scalable machine learning and data mining.
  18. 18.
    The R Project for Statistical Computing.

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Abeer Nafel Alharbi
    • 1
  • Hessah Alnnamlah
    • 1
  • Liyakathunisa
    • 2
  1. 1.Prince Sultan UniversityRiyadhKingdom of Saudi Arabia
  2. 2.Taibah UniversityMedinaKingdom of Saudi Arabia

Personalised recommendations