MC

class pyapprox.control_variate_monte_carlo.MC(cov, costs)[source]

Bases: object

Methods Summary

__call__(values)

Call self as a function.

allocate_samples(target_cost)

generate_data(nhf_samples, nsample_ratios, …)

get_nsamples(nhf_samples, nsample_ratios)

get_variance(nhf_samples, nsample_ratios)

Methods Documentation

__call__(values)[source]

Call self as a function.

allocate_samples(target_cost)[source]
generate_data(nhf_samples, nsample_ratios, generate_samples, model_ensemble)[source]
get_nsamples(nhf_samples, nsample_ratios)[source]
get_variance(nhf_samples, nsample_ratios)[source]