Research Article

E-minBatch GraphSAGE: An Industrial Internet Attack Detection Model

Algorithm 1

E-minBatch GraphSAGE edge embedding.
Input: Graph ; input edge features ; input node features , ; depth ; weight matrices ; non-linearity ; differentiable aggregator functions ;
Output:Edge emdeddings
(1)
(2)for do
(3);
(4)for do
(5)  ;
(6)end for
(7)end for
(8)
(9)for do
(10)for do
(11)  
(12)  
(13)end for
(14)end for
(15)
(16)fordo
(17)
(18)end for
(19)# represents the last layer of the model#