|
Algorithm 1 NIMGSA Algorithm |
-
Input:
initial association matrix Y, miRNA similarity matrix , disease similarity matrix
-
Output:
score matrix F
-
1:
Compute the adjacency matrix of miRNA graph and disease graph via Equations (21) and (22) respectively
-
2:
repeat
-
3:
Compute Query: // Equation (19)
-
4:
Compute Key: // Equation (20)
-
5:
// Equation (25)
-
6:
// Equation (26)
-
7:
Compute Value: // Equation (28)
-
8:
Compute attention score as Equation (29)
-
9:
Train GAEm and GAEd through optimizing Equation (32) // Update W (i.e., parameters of neural networks) in Equation (32) by Adam optimizer
-
10:
until Convergence
-
11:
return F
|