Skip to content

Commit ca94cec

Browse files
committed
correct adaptive_active_learning bug
1 parent aebd128 commit ca94cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libact/query_strategies/multilabel/adaptive_active_learning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def make_query(self):
120120
candidate_idx_set = set()
121121
for b in self.betas:
122122
# score shape = (len(X_pool), )
123-
score = separation_margin**b * label_cardinality**(1.-b)
123+
score = uncertainty**b * label_cardinality**(1.-b)
124124
for idx in np.where(score == np.max(score))[0]:
125125
candidate_idx_set.add(idx)
126126

0 commit comments

Comments
 (0)