Component selection using Bayesian Gaussian mixture