sample_idx¶
Class method.
-
do_mpc.sampling.sampler.Sampler.
sample_idx
(self, idx)¶ Sample case based on the index of the sample.
Parameters: idx (int) – Index of the
sampling_plan
for which the sample should be created.Raises: - assertion – Index must be between 0 and
n_samples
. - assertion – sample_function must be set prior to sampling data.
- assertion – Index must be between 0 and
This page is auto-generated. Page source is not available on Github.