Mercurial > hg > medcouple
changeset 58:57a0f3beaba8
talk: add naïve medcouple algorithm
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 17 May 2016 09:02:23 -0400 |
parents | e2d6c57dc1f4 |
children | 049258e4b72a |
files | talk/talk.tex |
diffstat | 1 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/talk/talk.tex +++ b/talk/talk.tex @@ -63,6 +63,55 @@ omg \end{frame} + +\begin{frame} + \begin{center} + \pgfimage[width=4in]{img/naive/x-orig.png} + \end{center} + + Take some $X$ random numbers. +\end{frame} + +\begin{frame} + \begin{center} + \pgfimage[width=4in]{img/naive/x-sorted.png} + \end{center} + + Sort them. +\end{frame} + +\begin{frame} + \begin{center} + \pgfimage[width=4in]{img/naive/sortx-red.png} + \end{center} + + Pick the median. +\end{frame} + +\begin{frame} + \begin{overlayarea}{\textwidth}{8cm} + \only<1>{% + \begin{center} + \pgfimage[height=2in]{img/naive/medc-computation-init.png} + \end{center} + Split up $X$ into $X^+$ and $X^-$ along the median.} + \only<2>{% + \begin{center} + \pgfimage[height=2in]{img/naive/medc-computation.png} + \end{center} + Evaluate the kernel for all couples. + \[ + \frac{ (x_i^+ - x_m) - (x_m - x_j^-)}{x_i - x_j}, + \quad x_i^+ \in X^+, \quad x_j^- \in X^- + \]} + \only<3>{% + \begin{center} + \pgfimage[height=2in]{img/naive/medc-computation-done.png} + \end{center} + The median of this matrix is the medcouple.} + \end{overlayarea} +\end{frame} + \section{Computation of the Medcouple} \begin{frame}