worst_score function

Aggregation of scores: take the maximum (i.e. worst score only)

Aggregation of scores: take the maximum (i.e. worst score only)

This function enables comparison of the results of two scoring functions by just basing the decision on the largest element. This corresponds to the infinity-norm in ML terms.

worst_score(scores, na.rm = FALSE, ...)

Arguments

  • scores: A score or multiple component score vector
  • na.rm: Boolean. Should NA values be ignored when obtaining the maximum? FALSE by default as ignoring NA values may hide some issues with the provided scoring functions and also the aggregated value cannot be seen as the proper infinity norm anymore.
  • ...: Parameters to be ignored by this aggregation function

Returns

The aggregated score, i.e. the value of the largest element in a multiple-component score vector.

Examples

worst_score(c(3, 2, 1))