Open Access

Fig. 2

image

Download original image

Schematic illustration of bucketing. Rejection sampling as per Fig. 1 is inefficient if the upper bound B significantly overestimates the probability distribution function p(x), necessitating a large number of evaluations of p(x) per accepted sample. To increase efficiency, the domain D can be divided into disjoint subdomains D1,…,Dv (shaded with different colours), henceforth referred to as ‘buckets’. Then, separate upper bounds B1,…,Bv (solid coloured lines) can be estimated for the individual buckets. To sample a value from p(x), first choose a bucket J ∈ {l, … ,v} with relative probability |DJ|/|D| using discrete inverse transform sampling. Then, sample a value uniformly distributed in bucket DJ. Evaluate and accept the sample with a probability of , and repeat the entire process until a sample has been accepted. If the per-bucket bounds BJ are lower than the global upper bound, fewer samples are rejected, and hence fewer evaluations of p(x) are required.

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.