Procedure 1 Build PM |
1: |
|
▷ Start with an empty train set |
2: |
for
c in C
do
|
▷ For each class |
3: |
|
▷ is the target user’s train set |
4: |
|
5: |
|
6: |
Cluster using k-means for and select the optimal k according to some clustering quality index. |
7: |
|
▷ G is the set of the resulting k groups |
8: |
|
9: |
end
for
|
10: |
▷ Assign a weight to each instance such that the importance of increases as more training data of the target user is available. |
11: |
Build model using training set . |