SamplerRecommender#
- class cuqi.experimental.SamplerRecommender(target, exceptions=[])[source]#
This class can be used to automatically choose a sampler.
- target: Density or JointDistribution
Distribution to get sampler recommendations for.
- exceptions: list[cuqi.sampler.Sampler], optional
Samplers not to be recommended.
“, recommended_sampler)
Methods
__init__(target[, exceptions])recommend([as_string])Suggests a possible sampler that can be used for sampling from the target distribution.
Suggests a possible sampling strategy to be used with the HybridGibbs sampler.
valid_HybridGibbs_sampling_strategy([as_string])Find all possible sampling strategies to be used with the HybridGibbs sampler.
valid_samplers([as_string])Finds all possible samplers that can be used for sampling from the target distribution.
Attributes