gemmr.metrics.mk_loadingError

gemmr.metrics.mk_loadingError(ds, prefix='')

Evaluate the loading error.

Loading error is the maximum correlation-distance between estimated test and true loadings across datasets \(X\) and \(Y\).

Parameters:
  • ds (xr.Dataset) – outcome dataset

  • prefix (str) – will be prepended to the name of the property when looking it up in ds

Returns:

metric – evaluated metric

Return type:

xr.DataArray