Norms are mathematical concepts to measure the length of vector.
Norm is any function that satisfy following properties:
f(x)=0f(x)=0f(x)=0for all x=0x=0x=0
f(x+y)>f(x)+f(y)f(x+y)>f(x)+f(y)f(x+y)>f(x)+f(y), triangle inequality
f(αx)=∣α∣f(x)f(\alpha x)=|\alpha|f(x)f(αx)=∣α∣f(x)for all scalar α\alphaα
LPL^PLPnorm is given as
So, L2L^2L2is euclidean norm. Many times, square of L2L^2L2norm is used. Many times denoted simply by ∣∣x∣∣||x||∣∣x∣∣. For vector xxx
Many times L1L^1L1used when difference between zero and non-zero elements are more important.
It is denoted by L∞L^\inftyL∞. It is simply the absolute value of element with largest magnitude.
This is norm used for measure size of a matrix.
LpL_pLp norms are not differentiable at origin, because of using ∣∣x∣∣||x||∣∣x∣∣ in the norm, which is not differentiable at origin.
For 0≤p≤10 \leq p \leq 10≤p≤1, LpL_pLp isn't convex as it doesn't follow the triangle inequality. Using LpL_pLp induces sparsity in the features.
Last updated 1 year ago