numpyro
                                
                                 numpyro copied to clipboard
                                
                                    numpyro copied to clipboard
                            
                            
                            
                        Masking a Mixture Model makes `component_` methods unavailable
The MaskedDistribution object wraps models, but does not necessarily expose their public API.
I'm raising this Issue to perhaps add support for the components_ methods.
Possible Options:
- Some clever method of auto-wrapping methods accessed by __getattr__.
- Have a MaskedMixtureDistributionclass that is returned byMixtureDistribution.mask().
- instead of .mask()masking the Distribution, it returns the same mixture, but calling.mask()on all the component distributions.