Skip to main content
. 2022 Aug 15;24(8):1124. doi: 10.3390/e24081124
Algorithm 1: RF-RFE-SELLP algorithm
Input: Network G=V,E 
Output: Parameters of SELLP model
1: Calculate the adjacency matrix A of network G.
2: for each vi,vj∈V do
3: yn←A:
4: xn←xS1vi,vj,…,xS12vi,vj
5:/*yn is the label, xn is the feature vector, and xSlvi,vj is the score computed by the similarity index Sl.*/
6: end for
7: for r←1 to 12 do
8: Compute the VIM of features, and remove the feature with the lowest one.
9: Update feature ranked list, and calculate the corresponding CVS.
10: end for
11: Obtain the optimal feature subset Fn by comparing CVS.
12: Construct the set S including the feature subset Fn and label yn, and then divide S into the training set ST and test set SP.
13: for k←1 to 5 do
14: for j←1 to 3 do
15: Train the base model Cjk on the training set S−kT.
16: Predict the probability y^jk on the test set SkT.
17: end for
18: end for
19: Construct the set SnewT=y^1i,y^2i,y^3i,yi,i=1,…,NT by the prediction results of each base model.
20: Train the fuse model of the second layer on the set SnewT.
21: Return the parameters of RF-RFE-SELLP model.