pangeo_fish.hmm.estimator.CachedEstimator.score#
- CachedEstimator.score(X, *, cache=None, spatial_dims=None, temporal_dims=None, progress=None)#
Score the fit of the selected model to the data
Apply the forward-backward algorithm to the given data, then return the negative logarithm of the normalization factors.
- Parameters:
X (
xarray.Dataset) – The emission probability maps. The dataset should contain these variables:pdf, the emission probabilitiesmask, a mask to select ocean pixelsinitial, the initial probability map
spatial_dims (
listof hashable, optional) – The spatial dimensions of the dataset.temporal_dims (
listof hashable, optional) – The temporal dimensions of the dataset.
- Returns:
score (
float) – The score for the fit with the current parameters.