pyxpcm.pcm.bic

pcm.bic(self, ds, features=None, dim=None)[source]

Compute Bayesian information criterion for the current model on the input dataset

Only for a GMM classifier

Parameters:
ds: :class:`xarray.Dataset`

The dataset to work with

features: dict()

Definitions of PCM features in the input xarray.Dataset. If not specified or set to None, features are identified using xarray.DataArray attributes ‘feature_name’.

dim: str

Name of the vertical dimension in the input xarray.Dataset

Returns:
bic: float

The lower the better