next up previous [pdf]

Next: PLANE SEARCH Up: Model derivatives Previous: Model derivatives

Some convex functions and their derivatives

LEAST SQUARES:

$\displaystyle C$ $\displaystyle =$ $\displaystyle r^2/2$ (8)
$\displaystyle C'$ $\displaystyle =$ $\displaystyle r$ (9)
$\displaystyle C''$ $\displaystyle =$ $\displaystyle 1 \quad\quad \ge 0$ (10)

L1 NORM:

$\displaystyle C$ $\displaystyle =$ $\displaystyle \vert r\vert$ (11)
$\displaystyle C'$ $\displaystyle =$ $\displaystyle {\rm sgn}(r)$ (12)
$\displaystyle C''$ $\displaystyle =$ $\displaystyle 0  {\rm or} \infty \quad\quad \ge 0$ (13)

HYBRID:

$\displaystyle C$ $\displaystyle =$ $\displaystyle R^2 (\sqrt{1 + r^2/R^2} - 1)$ (14)
$\displaystyle C'$ $\displaystyle =$ $\displaystyle {r\over\sqrt {1+r^2/R^2}}$ (15)
$\displaystyle C''$ $\displaystyle =$ $\displaystyle \frac{1}{(1+ r^2/R^2)^{3/2}}
\quad\quad \ge 0$ (16)

HUBER:

$\displaystyle C$ $\displaystyle =$ \begin{displaymath}\left\{
\begin{array}{l}
\vert r\vert - R/2
\quad\quad {\rm i...
...\ge R
\\
r^2/2R
\quad\quad {\rm otherwise}
\end{array}\right\}\end{displaymath} (17)
$\displaystyle C'$ $\displaystyle =$ \begin{displaymath}\left\{
\begin{array}{l}
{\rm sgn} (r)
\quad\quad {\rm if  }...
...rt \ge R
\\
r/R
\quad\quad {\rm otherwise}
\end{array}\right\}\end{displaymath} (18)
$\displaystyle C''$ $\displaystyle =$ \begin{displaymath}\left\{
\begin{array}{l}
0  {\rm or} \infty
\quad\quad {\rm...
...quad\quad {\rm otherwise}
\end{array}\right\} \quad\quad \ge 0\end{displaymath} (19)

I have scaled Hybrid so it naturally approaches the least squares limit as $ R\rightarrow\infty$. As $ R\rightarrow 0$, it tends to $ C=R\vert r\vert$, scaled $ L1$.

Because of the erratic behavior of $ C''$ for $ L1$ and Huber, and our planned use of second order Taylor series, we will not be using $ L1$ and Huber norms here. Also, we should prepare ourselves for danger as HYBRID approaches the $ L1$ limit. (I thank Mandy for reminding me of the infinite second derivative and I thank Mohammad and Nader for demonstrating numerical erratic behavior.)


next up previous [pdf]

Next: PLANE SEARCH Up: Model derivatives Previous: Model derivatives

2009-10-19