View source: R/adaptive_sampling.R
generate_kde_samples | R Documentation |
Generates new parameter samples using weighted kernel density estimation for each parameter independently. This is an internal helper function for the adaptive sampling process.
generate_kde_samples(samples, n, epsilon = 0)
samples |
A data frame of previous samples containing parameter columns and an "NLL" column. |
n |
The integer number of new samples to generate. |
epsilon |
A numeric probability (0-1) of sampling with a wider bandwidth to encourage exploration. Default is 0. |
A data frame containing n
new parameter samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.