Skip to content

how to set number of samples for MCAcquisition #1274

Answered by Balandat
shalijiang asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed, the higher-dimensional the integral (dimension is qm, where q is the number of points considered jointly and m is the number of outputs of the model), the higher the number of samples should be if you care about accuracy.

We highly recommend using qMC (Sobol) instead of MC, in which case the number should ideally be 2^k for some k>1 (get some good properties for the underlying low-discrepancy sequences used. For MC you get a CLT with variance O(1/sqrt(N)) for the estimation error, the asymptotic bounds for qMC are much better, depending on regularity properties of the function. 512 Sobol samples is a relatively high default and should work quite well for many cases.

What I suggest…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by saitcakmak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #364 on June 29, 2022 22:06.