Research Article
A Hybrid Recommender System Based on User-Recommender Interaction
Algorithm 2
The interactive recommender.
| Input: , , | | Output: Recall and diversity | | Method: | | (1) = is the flag of successfully recommender; | | (2) = ; | | (3) = an randomized array of ; | | (4) = ; | | (5) while do | | (6) ; | | (7) for each do | | (8) = hybridAlgorithm(); | | (9) = the interestarray of ; | | (10) if then | | (11) the user quits to the RS; | | (12) else | | (13) the browsed item is recorded into bm(); | | (14) ; | | (15) end if | | (16) end for | | (17) end while | | (18) ; | | (19) ; | | (20) ; | | (21) return recall and diversity; |
|