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, ...)
A score or multiple component score vector
Parameters to be ignored by this aggregation function
The squared L2 norm as an aggregated score.
L2s_norm(c(2, 2))
#> [1] 8