Skip to content

Plotting the acquisition values for knowledgegradient #815

Answered by saitcakmak
kentwar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kentwar. You should check out the evaluate method of qKnowledgeGradient. qKG is very sensitive to the solutions of the inner optimization problems, for which you're passing torch.random here. This would undoubtedly lead to some plots that don't make much sense. When you use optimize_acqf, these get optimized along with the candidate point but that doesn't happen when plotting. For this exact reason, we implemented the evalute method, to which you only pass the candidate point. It will solve the inner optimization problems under the hood, leading to a much more reliable qKG estimate.

Side note: I see that you're using 512 fantasies. Particularly for low dimensional problems, you can ge…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@saitcakmak
Comment options

@TimLK
Comment options

@TimLK
Comment options

@Balandat
Comment options

@TimLK
Comment options

Answer selected by kentwar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants