L1-regularized quadratic function of multiple variables: Difference between revisions
| Line 31: | Line 31: | ||
The gradient vector exists if and only if ''all the coordinates are nonzero''. | The gradient vector exists if and only if ''all the coordinates are nonzero''. | ||
In vector notation, the gradient vector is: | In vector notation, the gradient vector is as follows for all <math>\vec{x}</math> with all coordinates nonzero: | ||
<math>\nabla f (\vec{x}) = A\vec{x} + \vec{b} + \lambda \overline{\operatorname{sgn}}(\vec{x})</math> | <math>\nabla f (\vec{x}) = A\vec{x} + \vec{b} + \lambda \overline{\operatorname{sgn}}(\vec{x})</math> | ||
where <math>\overline{\operatorname{sgn}}</math> is the [[signum vector function]]. | where <math>\overline{\operatorname{sgn}}</math> is the [[signum vector function]]. | ||
Revision as of 19:12, 11 May 2014
Definition
A -regularized quadratic function of the variables is a function of the form:
In vector form, if we denote by the column vector with coordinates , then we can write the function as:
where is the matrix with entries and is the column vector with entries .
Key data
| Item | Value |
|---|---|
| default domain | the whole of |
Differentiation
Partial derivatives and gradient vector
The partial derivative with respect to the variable , and therefore also the coordinate of the gradient vector (if it exists), is given as follows when :
The partial derivative is undefined when .
The gradient vector exists if and only if all the coordinates are nonzero.
In vector notation, the gradient vector is as follows for all with all coordinates nonzero:
where is the signum vector function.