|
Algorithm 2 Semi-Supervised Active Learning |
|
Input: initial train set L, unlabelled validation set U, independent test set T
|
|
Output: predicted labels for the test set |
-
1:
▹ Learns model on initial training set
-
2:
while SC not met do
-
3:
selection by Q, of most informative sample:
-
4:
ask Oracle for ’s label
-
5:
▹ Augments the model’s training set with
-
6:
▹ Removes from unlabelled samples
-
7:
▹ Updates model
-
8:
automatically label confident samples C in U
-
9:
▹ Augments the model’s training set with C
-
10:
▹ Removes C from unlabelled samples
-
11:
▹ Updates model
-
12:
return ▹ Returns predicted labels for the test set
-
13:
end while
|