View source: R/util_derivatives_log_density.R
Finds the optimal lambda and sigma2 for p'(y) or p”(y) via cross-validation. The function assumes length(ys) is a multiple of kfold.
1 | get_CV_RBF(ys, kfold, range_lambda, range_sigma2, order)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.