Skip to content

Commit

Permalink
Merge pull request #449 from alfredliu-TRI/master
Browse files Browse the repository at this point in the history
hotfix
  • Loading branch information
MuratAykol-TRI committed Aug 13, 2021
2 parents 4175688 + 6bdbd00 commit f2088a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camd/agent/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_hypotheses(self, candidate_data, seed_data=None):
t_pred, unc = self.pipeline.predict(self.candidate_data, return_std=True)
t_pred += unc * self.alpha
selected = np.argsort(-1.0 * t_pred)[: self.n_query]
return candidate_data.loc[selected]
return candidate_data.iloc[selected]


class GPBatchUCB(HypothesisAgent):
Expand Down

0 comments on commit f2088a2

Please sign in to comment.