How to make My Candidates generated by Acquisition function always lie on a simplex ? #2430
Unanswered
sheikhahnaf
asked this question in
Q&A
Replies: 1 comment
-
Yes, passing equality constraints to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering, How to make My Candidates generated by Acquisition function always lie on a simplex ?. Is it through equality constraints passed to the optimize_acqf? where, for example, for 3 dimension the equality constraints should be
[(tensor([1,2,3]),tensor([1,1,1]),1.0)]? or are there any other ways? I tried this for 1 dimension and it always generates candidates with value 1, so I guess it will work for the higher dimensions.
1.I was looking any better method, because I saw a function in botorch.utils.optim named sample_simplex, but couldn't find any sampler where it is used.
2.Moreover, what if I want my candidates to be drawn from a specific distribution like, Dirichlet distribution(which samples from a simplex uniformly)? How do I go about implementing that?
Thanks in Advance
Beta Was this translation helpful? Give feedback.
All reactions