simpeg.utils.GaussianMixtureWithPrior.bic#

GaussianMixtureWithPrior.bic(X)[source]#

Bayesian information criterion for the current model on the input X.

You can refer to this mathematical section for more details regarding the formulation of the BIC used.

For an example of GMM selection using bic information criterion, refer to sphx_glr_auto_examples_mixture_plot_gmm_selection.py.

Parameters:
Xarray of shape (n_samples, n_dimensions)

The input samples.

Returns:
bicfloat

The lower the better.