Functions for sampling from conditional distributions.
1 2 3 4 5 6 7 8 9 | gaussian_single_param_sampler(data, params)
gaussian_two_param_sampler(data, params)
binary_single_param_sampler(data, params)
binary_two_param_sampler(data, params)
binary_two_param_reg_sampler(data, params)
|
data |
A list containing two elements, sums and nums which contain the sum of the data in each neighborhood as well as the number of locations in the neighborhood for each point in the conclique. |
params |
A list of parameter values, rho, kappa, and eta, that parameterize the Gaussian MRF. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.