Added option to mcsamplerEnsemble.py that allows user to specify number of Gaussian components for each dimension, or sample uniformly
The n_comp
argument passed to MonteCarloEnsemble.py
can now be either an int or a dict.
If it is a non-zero int, it specifies the number of Gaussian components to use for every GMM.
If it is 0, all dimensions are sampled uniformly.
If it is a dict, it must map each tuple of dimensions (i.e. the keys in gmm_dict
) to an int, which specifies the number of components for the corresponding GMM. If this int is 0, no GMM is used and those dimensions are sampled uniformly.