sample_data¶
Class method.
-
do_mpc.sampling.sampler.Sampler.
sample_data
(self)¶ Sample data after having configured the
Sampler
. No user input is required and the method will iterate through all the items defined in thesampling_plan
(obtained withdo_mpc.sampling.samplingplanner.SamplingPlanner
).Note
Depending on your
sample_function
(set withset_sample_function()
) and the total number of samples, executing this method may take some time.Note
If
sampler.set_param(overwrite = False)
(default) data will only be sampled for instances that do not yet exist.
This page is auto-generated. Page source is not available on Github.