Skip to content

Commit

Permalink
Merge pull request #145 from ej0cl6/master
Browse files Browse the repository at this point in the history
correct adaptive_active_learning bug
  • Loading branch information
yangarbiter authored Jun 4, 2018
2 parents aebd128 + ca94cec commit e37e9ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def make_query(self):
candidate_idx_set = set()
for b in self.betas:
# score shape = (len(X_pool), )
score = separation_margin**b * label_cardinality**(1.-b)
score = uncertainty**b * label_cardinality**(1.-b)
for idx in np.where(score == np.max(score))[0]:
candidate_idx_set.add(idx)

Expand Down

0 comments on commit e37e9ed

Please sign in to comment.