L2s_norm function

Aggregation of scores: L2 norm squared

Aggregation of scores: L2 norm squared

This function enables comparison of the results of two scoring functions by calculating an L2 norm (euclidean distance from origin). Since this is only used for ranking solutions, the squared L2 norm is returned.

L2s_norm(scores, ...)

Arguments

  • scores: A score or multiple component score vector
  • ...: Parameters to be ignored by this aggregation function

Returns

The squared L2 norm as an aggregated score.

Examples

L2s_norm(c(2, 2))