|
Algorithm 1 Positive unlabeled learning algorithm for negative sample inference |
-
1:
procedure Positive unlabeled learning(P, U) ▹ P is the set of positive samples, U is the set of unknown samples.
-
2:
Set the maximum number of iterations . ▹ We set to 5.
-
3:
Create empty RN. ▹ RN is the set of reliable negative samples.
-
4:
-
5:
while do
-
6:
Initialize a classifier.
-
7:
Randomly select 20% of samples from U as AN. ▹ AN is the set of assumed negative samples.
-
8:
Train the classifier using P and AN.
-
9:
Predict the remaining genes using the classifier. Select the 10% genes with the highest predicted negative samples ranking and add them to the RN.
-
10:
-
11:
end while
-
12:
return RN
-
13:
end procedure
|