Algorithm 1 The framework of Normal Constrained Active Learning
|
Input: Two heterogeneous social networks: and . Two sets of labeled anchor link: The training set and the validation set . The query pool . The max number of queries . The potential entropy computation method . |
Output: The new training set and the new query pool
-
1:
Initialize
-
2:
For each in and , extract four types of features.
-
3:
while
do
-
4:
Train an SVM model on according to the training part in MNA;
-
5:
For each unlabeled anchor link a in , use to predict the probabilities of its value to be 0 and 1, which is presented as and .
-
6:
if
is
then for each link a in , compute by Equation (2)
-
7:
else
-
8:
Use as the trained classifier in MNA, and use MNA to predict the labels of all the links in .
-
9:
Compute the probabilities and by Equation (4).
-
10:
For each a in , find , and compute by Equation (5).
-
11:
end if
-
12:
Select the link which has the highest potential entropy in , and identify its real label.
-
13:
if the real label of is “negative” then
-
14:
, ,
-
15:
else
-
16:
-
17:
Find from , for each link in in , set
-
18:
,
-
19:
end if
-
20:
-
21:
end while
|