Class attribute.


Set the save directory for the results. If the directory does not exist yet, it is created. If the directory is nested all (non-existing) parent folders are also created.


sampler = do_mpc.sampling.Sampler()
sampler.data_dir = './samples/experiment_1/'

This will set the directory to the indicated path. If the path does not exist, all folders are created.

This page is auto-generated. Page source is not available on Github.