Skip to content

Implementation of some fundamental recommendation algorithms

Notifications You must be signed in to change notification settings

WeixinChen98/recommendation

Repository files navigation

Fundamentals of Recommender Systems

Implementation of Recommender Systems.

Dataset: MovieLens 100k

Optimizer: Stochastic Gradient Descent (SGD)

See code example: Factorizing Personalized Markov Chains (using tensorflow: Tensorflow Example)

Recommendation with explicit feedback (Multi-class feedback)

Evaluated by Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) as the distance between the real ratings and the predicted ratings. The calculation of MAE and RMSE as below:

equation

equation

Implemented methods regarding this subject:

  • Average Filling
  • Memory-Based Collaborative Filtering
  • Matrix Factorization
  • SVD++
  • Matrix Factorization with Multiclass Preference Context

Recommendation with implicit feedback (One-class feedback)

Evaluated by Ranking-Oriented Evaluation Metrics as the rationality of ranking, e.g. the precision denotes the proportion of recommended items in the test set. The full implementation of Ranking Evaluation.

Implemented methods regarding this subject:

  • Ranking-Oriented Evaluation Metrics
  • Memory-Based One-Class Collaborative Filtering
  • Bayesian Personalized Ranking
  • Factored Item Similarity Models with RMSE Loss
  • Factored Item Similarity Models with AUC Loss
  • Matrix Factorization with Logistic Loss

Recommendation with sequential feedback

Take user-interacted items sorted by time sequence as input and evaluated by Ranking-Oriented Evaluation Metrics.

Implemented methods regarding this subject:

  • Factorizing Personalized Markov Chains
  • Self-Attentive Sequential Recommendation

About

Implementation of some fundamental recommendation algorithms

Topics

Resources

Stars

Watchers

Forks

Languages