d647: Machine Learning movie recommendation system in C

Machine Learning movie recommendation system in C – learn more | reddit discussion

Machine Learning movie recommendation system

Source code: https://github.com/shubham-bhatnagar/Movie-Recommendation-System

Movie Recommendation System

Implementation of movie recommendation system using Collaborative Filtering Technique using C language.

Algorithm:

  1. Creation of utility matrix of ratings between users and movies.
  2. Finding similarity of new user (or concerned user) with other users using Centered Cosine Similarity (Pearson’s Correlation).
  3. Clustering of users based on similarity using k means clustering.
  4. Prediction of movies using Collaborative Filtering technique (Low Rank Matrix Factorization) based on clusters obtained in step 3.
  5. Top 10 movies printed on command line.

Instructions to run this system:

  1. Open recommender.c and correct all the paths. (on line 20,55,56,57 and 63).
  2. Open ui.c and correct all the paths. (on line 15, 41, 64, 67, 68).
  3. Open command line and locate the directory where source code is stored and type: gcc ui.c kmeans.c matrix_normalization.c pearsons.c predictions.c recommender.c sorting.c utility_matrix.c
  4. Type a on command line to execute the program.