Skip to main content

Recommender System with Apache Spark

  • Conference paper
  • First Online:
Proceedings of Data Analytics and Management (ICDAM 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 786))

Included in the following conference series:

  • 172 Accesses

Abstract

The rapid development of data has greatly impacted the storage, analysis, and processing performance of data on systems that use machine learning algorithms. Therefore, the aim of this research is to examine commonly used big data platforms and related machine learning libraries as well as classify recommendation systems. From there, we experimentally evaluate the accuracy of the recommendation system based on model-based collaborative filtering using Alternating Least Squares—ALS in Spark's Machine Learning Library (MLlib) for the 1 M MovieLens dataset. The experiment produces good results when evaluating the accuracy of the recommendation system based on Spark’s MLlib. Additionally, the report also examines changes in the precision of the recommender engine based on adjusting the parameters of the ALS algorithm.

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. Bhatnagar A, Chittapur R, Rachakonda AR (2022)A large scale content ranking platform as applied to e-commerce store fronts. In: 2022 17th Annual system of systems engineering conference (SOSE), Rochester, NY, USA, pp 97–104. https://doi.org/10.1109/SOSE55472.2022.9812691

  2. Yanwu Y, Kang Z, Daniel DZ, Bernard JJ (2022) Time-varying effects of search engine advertising on sales–An empirical investigation in E-commerce. Decis Support Syst 163:113843. https://doi.org/10.1016/j.dss.2022.113843. ISSN 0167-9236

  3. Yanling L, Yejun X, Jing H, Ju W, Enrique HV (2022) Social network clustering and consensus-based distrust behaviors management for large-scale group decision making with incomplete hesitant fuzzy preference relations. Appl Soft Comput 117:108373. https://doi.org/10.1016/j.asoc.2021.108373

    Article  Google Scholar 

  4. Alazzam H, AbuAlghanam O, Sharieh A (2022) Best path in mountain environment based on parallel A* algorithm and Apache Spark. J Supercomput 78:5075–5094. https://doi.org/10.1007/s11227-021-04072-0

    Article  Google Scholar 

  5. Azeroual O, Nikiforova A (2022) Apache spark and MLlib-based intrusion detection system or how the big data technologies can secure the data. Information 13:58. https://doi.org/10.3390/info13020058

    Article  Google Scholar 

  6. Ivan L, Krešimir P, Siniša S, Marin V (2022) A distributed geospatial publish/subscribe system on Apache Spark. Futur Gener Comput Syst 132:282–298

    Article  Google Scholar 

  7. Apache Hadoop. https://hadoop.apache.org/. Last accessed 20 Feb 2023

  8. Japec L et al (2015) Big data in survey research. Public Opin Q 79. https://doi.org/10.1093/poq/nfv039

  9. Landset S, Khoshgoftaar TM, Richter AN, Hasanin T (2015) A survey of open source tools for machine learning with big data in the Hadoop ecosystem. J. Big Data 2(1):24. https://doi.org/10.1186/s40537-015-0032-1

    Article  Google Scholar 

  10. Callegaro M, Yang Y (2017) The role of surveys in the era of ‘big data. Palgrave Handb Surv Res, pp 175–192. https://doi.org/10.1007/978-3-319-54395-6_23

  11. Ngoan TT, Cang PA, Cang PT (2020) An approach to improve the recursive Join algorithm. In: Fundamental and applied information technology-FAIR, Vietnam

    Google Scholar 

  12. Sankaran SR (2017) Is spark better than hadoop map reduce? https://bigdata-madesimple.com/is-spark-better-than-hadoop-map-reduce/. Last accessed 28 Feb 2023

  13. Deitel P, Deitel H (2019) Intro to python for computer science and data science. In: Learning to program with AI, big data and the cloud. Pearson

    Google Scholar 

  14. ProjectPro (2021) Spark MLlib for scalable machine learning with spark. https://www.dezyre.com/article/spark-mllib-for-scalable-machine-learning-with-spark/339. Last accessed 4 Apr 2023

  15. Gosh S, Nahar N, Wahab MA, Shahadat M, Andersson K, Recommendation system for e-commerce using alternating least squares ( ALS ) on apache

    Google Scholar 

  16. Mankayarkarasi (2020) Introduction to spark MLlib for big data and machine learning. https://www.analyticsvidhya.com/blog/2020/11/introduction-to-spark-mllib-for-big-data-and-machine-learning/. Last accessed 20 Dec 2022

  17. Nga HTT, Cuong ND (2017) Collaborative filtering recommender system and movielens dataset used for simulating the user-based nearest neighborhood algorithm. In: Conference on information and communication technology—ICT, Vietnam

    Google Scholar 

  18. Nghe NT (2016) Recommender systems: techniques and applications. Can Tho University Publisher, Vietnam

    Google Scholar 

  19. Chen R, Hua Q, Chang YS, Wang B, Zhang L, Kong X (2018) A survey of collaborative filtering-based recommender systems: from traditional methods to hybrid methods based on social networks. IEEE Access 6(c):64301–64320. https://doi.org/10.1109/ACCESS.2018.2877208

  20. Collaborative Filtering. https://spark.apache.org/docs/latest/ml-collaborative-filtering.html. Last accessed 4 Feb 2023

  21. McDade JE (2009) Matrix factorization techniques for recommender systems. IEEE Comput Soc. https://doi.org/10.1080/00220671.1937.10880693

    Article  Google Scholar 

  22. Zadeh R (2015) Matrix completion via alternating least square (ALS). In: Databricks and Stanford. https://stanford.edu/~rezab/classes/cme323/S15/notes/lec14.pdf. Last accessed 10 Feb 2023

  23. MovieLens. https://grouplens.org/datasets/movielens/. Last accessed 20 Mar 2023

  24. Le Thi T, Tran TK, Phan TT (2023) Deep learning using context vectors to identify implicit aspects. IEEE Access 11:39385–39393. https://doi.org/10.1109/ACCESS.2023.3268243

    Article  Google Scholar 

  25. Tran TK, Phan TT (2020) Capturing contextual factors in sentiment classification: an ensemble approach. IEEE Access 8:116856–116865. https://doi.org/10.1109/ACCESS.2020.3004180

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ha Thi Thanh Nga .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Nga, H.T.T., Thuy, A.N.T. (2024). Recommender System with Apache Spark. In: Swaroop, A., Polkowski, Z., Correia, S.D., Virdee, B. (eds) Proceedings of Data Analytics and Management. ICDAM 2023. Lecture Notes in Networks and Systems, vol 786. Springer, Singapore. https://doi.org/10.1007/978-981-99-6547-2_37

Download citation

Publish with us

Policies and ethics