Research Article
A Hybrid Recommender System Based on User-Recommender Interaction
Input: , , , | Output: recommender items() | Method: | (1) = the browsed items by ; | (2) = the browser matrix of all users; | (3) if ( or ) then | (4) = recommended items by random algorithm; | (5) return ; | (6) end if | (7) ; | (8) = ; | (9) for each do | (10) = the number of browsed items by ; | (11) if then | (12) = ; | (13) end if | (14) end for | (15) if then | (16) = recommended items by random algorithm; | (17) return ; | (18) end if | (19) = ; | (20) = recommended items by kNN algorithm; | (21) = ; | (22) = recommended items by random algorithm; | (23) = ; | (24) return ; |
|