gemmr.metrics.mk_meanBetweenAssocRelError

gemmr.metrics.mk_meanBetweenAssocRelError(ds, cv_assoc)

Evaluate the relative error of the between-set association strength as the average of the in-sample and cross-validated value.

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

  • cv_assoc (str) – identifier for the cross-validated association strength

Returns:

metric – evaluated metric

Return type:

xr.DataArray