Skip to content

Commit e37e9ed

Browse files
authored
Merge pull request #145 from ej0cl6/master
correct adaptive_active_learning bug
2 parents aebd128 + ca94cec commit e37e9ed

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)