Skip to main content
. Author manuscript; available in PMC: 2014 Oct 9.
Published in final edited form as: KDD. 2012;2012:741–749. doi: 10.1145/2339530.2339647

Algorithm 1 MP-AL

1: Input: L: set of labeled instances; U: set of unlabeled instances; b: batch size;
2: Output: S: query set;
3: Compute K1, k2 and k3, as explained in Section 2.2.
4: if QP Problem then
5:  Compute α by solving (11).
6: end if
7: if LP Problem then
8:  Form D matrix as explained in Section 2.3.
9:  Compute α by solving (13).
10: end if
11: Sort U in descending order of α and select top b instances as S.
12: Update sets L and U: LLS, UU\S.