View source: R/optimization_functions.R
compute_exp_cost | R Documentation |
Computes the expected posterior value of the objective function. This function is private to this file.
compute_exp_cost(alphas, n, obj_fn, obj_fn_args)
alphas |
A row vector from the matrix alphas given in the text. |
n |
The number of new tracers to release. |
obj_fn |
The objective function. |
obj_fn_args |
Arguments to pass to the objective function. |
The expected posterior value of the objective function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.