|
The following steps describes the workflow of our hybrid recommender system which combines the item-based, the ALS model and the book popularity derived from the collected tweets.
Step1: Both item-based and ALS models will recommend N number of books for a user. E.g., if N = 5, the item-based model will generate 5 recommendations and the ALS will generate 5 recommendations, giving a total of 10 recommendations (assuming there are no duplicated recommendations from these two models).
Step2: Retrieve Lucene score for each recommended book.
Step3: Calculate the combined ranking for each recommended book.
Step4: Sort recommendations based on the following rules:
Item-based recommendations will always come first, followed by ALS recommendations.
Then the recommendations from each model will be sorted based on the combined ranking.
Drop duplicate recommendations in the ALS model if it is already recommended by the item-based model.
|