Skip to content

Commit

Permalink
Merge pull request #9 from AutoResearch/renaming-to-convention
Browse files Browse the repository at this point in the history
Fixed a bug that crashes the sampler
  • Loading branch information
chadcwilliams authored Jul 4, 2023
2 parents 6a28861 + fdb5893 commit 7f2b5d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ def model_disagreement_sample(condition_pool: np.array, models: List, num_sample
# sort the summed disagreements and select the top n
idx = (-summed_disagreement).argsort()[:num_samples]

return X[idx]
return condition_pool[idx]

model_disagreement_sampler = deprecated_alias(model_disagreement_sample, "model_disagreement_sampler")

0 comments on commit 7f2b5d5

Please sign in to comment.