powered by
Reversed normalized absolute distance from zero.
l1score(x)
A numeric vector of the same length as x
A numeric vector
Daniel Schürmann
$$1 - \frac{|x|}{\text{max}\{1, |x|\}}$$