Research Article
A Session-Based Song Recommendation Approach Involving User Characterization along the Play Power-Law Distribution
Algorithm 1
Computing session-based implicit ratings and user playing coefficients (UPCs).
| (1) | , | | (2) | | | (3) | | | (4) | Set value | | (5) | fordo | | (6) | fordo | | (7) | | | (8) | end for | | (9) | end for | | (10) | for do | | (11) | | | (12) | | | (13) | fordo | | (14) | Set value | | (15) | | | (16) | end for | | (17) | end for | | (18) | | | (19) | for do | | (20) | | | (21) | | | (22) | end for | | (23) | | | (24) | | | (25) | for do | | (26) | | | (27) | | | (28) | | | (29) | end for | | (30) | for do | | (31) | | | (32) | | | (33) | end for | | (34) | for do | | (35) | | | (36) | end for | | (37) | , | | (38) | Output: R and UPC |
|