/BookMart

A Facebook Profile-Based Gift Book Recommender System

Primary LanguageMATLAB

BookMart

A Facebook Profile-Based Gift Book Recommender System

Methodology Used :

Algorithms Used :
  1. Collaborative Algorithm
  2. Item-based Collaborative Filtering - If two items tend to have the same users like and dislike them, then they are similar and users are expected to have similar preferences for similar items. Item based similarity is deduced from user preferences rather than item metadata.

  3. Content Based Filtering
  4. Algorithms that attempt to recommend items that are similar to items the user liked in the past. They treat the recommendation problem as a search for related items. Items selected for recommendation are items whose content correlates the most with the user's preferences. Content based algorithms analyze item descriptions to identify items that are of particular interest.

  5. Hybrid
  6. For Hybrid algorithms, we thought of two main approaches overcoming shortcomings of both Collaborative and Content based Algorithms like- early rater problem, sparsity issue and opinions of users don’t consistently match always.

    1. Collaborative Filtering and adding weightage to common categories of two books (Hybrid 1) - While calculating similarity of two books, we gave equal weightage to jaccard similarity score and number of common categories between two books.
    2. Content based filtering and collaborative filtering (Hybrid 2)- Gave equal weightage to similarity score of book and user and score calculated for a book to a user using collaborative filtering. Main idea behind hybridising the approaches was to overcome the shortcomings of both the approaches and trying to achieve better recommendation by combining the results achieved by both.
  7. Did the same exercise by segregating the data based on male and female, such that a male user gets book recommended by observing the data of other male users and same for female.
Similarity measures used:

  1. Content based Filtering - Cosine Similarity

  2. Item-Item based Collaborative Filtering - Jaccard Similarity

Results Obtained

In the case of Facebook profile data, ratings are unary: either a user likes an item (thereby making a positive association), or not. The absence of a ‘like’ can be interpreted either as a dislike or ignorance about the item. We therefore chose to use the Precision, because the unary rating scale makes the task of recommending books more like a classification problem. We define Precision as follows, where ri denotes a book recommended to the user and L denotes the set of books liked by the user. We have used Precision to calculate the final results.


Precision of various algorithms used: