|
Algorithm 1: Replacing-updating Enabled Online Recommendation |
-
Require:
Initial training set , updating cycle T, new received data during updating cycle
-
Ensure:
Recommender system , Recommendations with explanations:
-
1:
//Initial training phase
-
2:
-
3:
-
4:
//Updating phase
-
5:
for each cycle T do
-
6:
-
7:
-
8:
end for
-
9:
//Inference phase
-
10:
for each user u do
-
11:
-
12:
end for
|