bic#

bic(X, labels)[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.

Parameters:

X (array of shape (n_samples, n_dimensions)) – The input samples.

Returns:

bic – The lower the better.

Return type:

float