|
Algorithm 1. Learning algorithm of EGCF. |
-
Input:
The observed interactions between users and items, i.e., ;
-
Output:
The embeddings of users and items in EGCF;
-
1:
←GraphConstruct ();
-
2:
for epoch in 1, …, s do
-
3:
for minibatch do
-
4:
for in do
-
5:
;
-
6:
;
-
7:
based on Equation (1);
-
8:
based on Equation (2);
-
9:
based on Equation (3);
-
10:
based on Equation (4);
-
11:
, based on Equation (5);
-
12:
, based on Equation (6);
-
13:
based on Equation (7);
-
14:
end for
-
15:
Optimize joint learning loss: ;
-
16:
use back-propagation to optimize the parameters;
-
17:
end for
-
18:
end for
-
19:
return User and item embeddings .
|