Retrieval scores

This module contains functions for the computations of scores for assessment of retrieval methods.

mape(y_pred, y_test)

The Mean Absolute Percentage Error (MAPE)

bias(y_pred, y_test)

The mean bias in percent.

quantile_score(y_tau, y_test, taus)

The quantile loss function.

mean_quantile_score(y_tau, y_test, taus)

Wrapper around the quantile_score function, which computes the mean along the first dimension.