SamplingPlanner¶
-
class
do_mpc.sampling.samplingplanner.
SamplingPlanner
[source]¶ A class for generating sampling plans. These sampling plans will be executed by
do_mpc.sampling.sampler.Sampler
to generate data.Configuration and sampling plan generation:
- Set variables which should be sampled with
set_sampling_var()
. - (Optional) Set further options of the SamplingPlanner with
set_param()
- Generate the sampling plan with
gen_sampling_plan()
. - And / or: Add specific sampling case with
add_sampling_case()
. - Export the plan with all sampling cases with
export()
Attributes
SamplingPlanner.data_dir
Set the save directory for the samplingplan
.Methods
SamplingPlanner.add_sampling_case
Manually add sampling case with user-defined values. SamplingPlanner.export
Export SamplingPlan in pickle format. SamplingPlanner.gen_sampling_plan
Generate the sampling plan. SamplingPlanner.set_param
Set the parameters of the SamplingPlanner
class.SamplingPlanner.set_sampling_var
Introduce new sampling variables to the SamplingPlanner
.- Set variables which should be sampled with
This page is auto-generated. Page source is not available on Github.