Skip to main content

The Impact of the k-Nearest Neighbor Parameters in Collaborative Filtering Recommender Systems

  • Conference paper
  • First Online:
Proceedings of the 5th International Conference on Big Data and Internet of Things (BDIoT 2021)

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

Included in the following conference series:

  • 360 Accesses

Abstract

Recommender Systems (RS) have become very important recently, they are a main component of many applications in different fields. They aim to give beneficial information according to the profile of each user among the huge existing online information. RS are based on several approaches to provide the best results and give satisfaction to the active user.

Collaborative filtering is one of these approaches. It helps to choose a product according to the consumer’s preference from many and various choices. It uses the k-Nearest Neighbor (kNN) technique for the extraction of similar users from the group of users.

In this paper, we will study the effect of the parameters of the kNN algorithm on the obtained results. For that, we have varied the value of k, then we have measured for each value the prediction accuracy, using the Root Mean Square Error (RMSE), and the Mean Absolute Error (MAE) metrics. The experiments are carried out also to find the value of k which gives good results in both metrics. Then we have calculated also the RMSE and MAE metrics for different similarities in order to find the similarity which gives good results compared to others.

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 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.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

References

  1. Klašnja-Milićević, A., Ivanović, M., Nanopoulos, A.: Recommender systems in e-learning environments: A survey of the state-of-the-art and possible extensions. Artif. Intell. Rev. 44(4), 571–604 (2015). https://doi.org/10.1007/s10462-015-9440-z

    Article  Google Scholar 

  2. Konstan, J.A., Miller, B.N., Maltz, D., Herlocker, J.L., Gordon, L.R., Riedl, J.: GroupLens: Applying collaborative filtering to usenet news. Commun. ACM 40(3), 77–87 (1997)

    Article  Google Scholar 

  3. Ha, T., Lee, S.: Item-network-based collaborative filtering: A personalized recommendation method based on a user’s item network. Inform. Proc. Manag. 53(5), 1171–1184 (2017)

    Article  Google Scholar 

  4. Haviv, A.: Recommendation Systems in eBay: One of the Largest Semi-Unstructured Marketplace. Newell-Simon, 30 Nov

    Google Scholar 

  5. Sarwar, B., Karypis, G., Konstan, J., Riedl, J.: Item-based collaborative filtering recommendation algorithms. In: Proceedings of the Tenth International Conference on World Wide Web–WWW 2001, pp. 285–295. Hong Kong, China (2001)

    Google Scholar 

  6. Ricci, F., Rokach, L., Shapira, B. (eds.): Recommender Systems Handbook. Springer, US (2011)

    MATH  Google Scholar 

  7. https://grouplens.org/datasets/movielens/

  8. http://surpriselib.com/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kawtar Najmani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Najmani, K., Ajallouda, L., Benlahmar, E.H., Sael, N., Zellou, A. (2022). The Impact of the k-Nearest Neighbor Parameters in Collaborative Filtering Recommender Systems. In: Lazaar, M., Duvallet, C., Touhafi, A., Al Achhab, M. (eds) Proceedings of the 5th International Conference on Big Data and Internet of Things. BDIoT 2021. Lecture Notes in Networks and Systems, vol 489. Springer, Cham. https://doi.org/10.1007/978-3-031-07969-6_42

Download citation

Publish with us

Policies and ethics