📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / Sommerakademie-2015-Forschung / introduction.tex
132935 viewsLicense: OTHER
%!TEX root = Sommerakademie-2015-Forschung.tex1\section{Einleitung}2\subsection{Was ist On-Line Recognition?}34\begin{frame}{Demo}5\begin{figure}[h]6\centering7\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/Classification.png}8\end{figure}910\href{http://write-math.com}{write-math.com}11\end{frame}1213\begin{frame}{Was ist On-Line Recognition?}14\medskip15\begin{columns}[t,onlytextwidth]16\begin{column}{.5\textwidth}17{\Large Off-line Recognition}18\begin{figure}[h]19\centering20\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-pixel.png}21\end{figure}22\end{column}23\begin{column}{.5\textwidth}24{\Large On-line Recognition}25\begin{figure}[h]26\centering27\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-vektor.png}28\end{figure}29\end{column}30\end{columns}31\end{frame}3233\begin{frame}{Was wollen wir?}34\[f(\text{Merkmale}) = \begin{pmatrix}0.7\\ 0.1\\ 0.2\end{pmatrix} = \begin{pmatrix} \mathbb{P}(\gamma)\\ \mathbb{P}(\text{ö})\\ \mathbb{P}(\heartsuit) \end{pmatrix}\]35\medskip36\visible<2->{37\begin{center}38{\Large Gesucht: Funktion $f$}\\39(und Merkmalsextraktion)40}41\end{center}42\end{frame}4344\begin{frame}{Merkmalsextraktion}45\begin{figure}[h]46\centering47\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-vektor-merkmalsbildung.png}48\end{figure}4950Merkmalsvektor fester Länge ist praktisch51\end{frame}5253\section{Funktionen}54\subsection{Funktionen}5556\begin{frame}{Funktionen}57\begin{figure}[h]58\centering59\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/function-machine.png}60\end{figure}61\end{frame}62\begin{frame}{Funktionen}63\medskip64\begin{columns}[t,onlytextwidth]65\begin{column}{.5\textwidth}{66\begin{itemize}[<+->]67\item $f(x) = x^2$ ist $f: \mathbb{R} \rightarrow \mathbb{R}$68\item $f(x, y) = x^2 + y^2$ ist $f: \mathbb{R}^2 \rightarrow \mathbb{R}$69\item $f(x, y) = (x^2 + y^2, x \cdot y)$ ist $f: \mathbb{R}^2 \rightarrow \mathbb{R}^2$70\end{itemize}71}72\end{column}73\begin{column}{.4\textwidth}74\only<1>{75\begin{tikzpicture}76\begin{axis}[77legend pos=south west,78axis x line=middle,79axis y line=middle,80grid = major,81width=6.5cm,82height=6.5cm,83grid style={dashed, gray!30},84xmin=-2, % start the diagram at this x-coordinate85xmax= 2, % end the diagram at this x-coordinate86ymin=-0.25, % start the diagram at this y-coordinate87ymax= 4.25, % end the diagram at this y-coordinate88axis background/.style={fill=white},89xlabel=$x \in \mathbb{R}$,90ylabel=$f(x) \in \mathbb{R}$,91%xticklabels={-2,-1.6,...,7},92%yticklabels={-8,-7,...,8},93tick align=outside,94minor tick num=-3,95enlargelimits=true,96tension=0.08]97\addplot[domain=-2:2, red, thick,samples=40] {x*x};98\end{axis}99\end{tikzpicture}100}101\only<2->{102\pgfplotsset{103colormap={whitered}{104color(0cm)=(white);105color(1cm)=(orange!75!red)106}107}108\begin{tikzpicture}109\begin{axis}[110colormap name=whitered,111width=5.5cm,112height=5.5cm,113view={340}{25},114enlargelimits=false,115grid=major,116domain=-3:3,117y domain=-3:3,118samples=56, %57 : TeX capacity exceeded, sorry [main memory size=3000000].119% see also http://tex.stackexchange.com/a/7954/5645120xlabel=$x$,121ylabel=$y$,122zlabel={$f(x,y)$},123]124\addplot3[surf] {x^2 + y^2};125\end{axis}126\end{tikzpicture}127}128\end{column}129\end{columns}130\end{frame}131132\begin{frame}{Funktionen mit Parametern}133\begin{columns}134\begin{column}{.5\textwidth}135{\Large Mit Parametern}136\begin{itemize}[<+->]137\item $f(x) = x^2$138\item $f(x) = 2 \cdot x^2$139\item $f(x) = \nicefrac{1}{2} \cdot x^2$140\item $f(x) = a \cdot x^2$141\item $f(x_1, \dots, x_{166}) = \sum_{i=1}^{166} a_i \cdot x_i$\\142$\mathbb{R}^{166} \rightarrow \mathbb{R}$143\item $f(x_1, \dots, x_{166}) = (\sum_{i=1}^{166} a_i \cdot x_i, \dots, \sum_{i=1}^{166} z_i \cdot x_i)$\\144$\mathbb{R}^{166} \rightarrow \mathbb{R}^{\text(\# Klassen)}$145\end{itemize}146\end{column}147\begin{column}{.4\textwidth}148\begin{tikzpicture}149\begin{axis}[150legend pos=south west,151axis x line=middle,152axis y line=middle,153grid = major,154width=6.5cm,155height=6.5cm,156grid style={dashed, gray!30},157xmin=-2, % start the diagram at this x-coordinate158xmax= 2, % end the diagram at this x-coordinate159ymin=-0.25, % start the diagram at this y-coordinate160ymax= 4.25, % end the diagram at this y-coordinate161axis background/.style={fill=white},162xlabel=$x \in \mathbb{R}$,163ylabel=$f(x) \in \mathbb{R}$,164%xticklabels={-2,-1.6,...,7},165%yticklabels={-8,-7,...,8},166tick align=outside,167minor tick num=-3,168enlargelimits=true,169tension=0.08]170\only<1->{\addplot[domain=-2:2, red, thick,samples=40] {x*x};}171\only<2->{\addplot[domain=-2:2, blue, thick,samples=40] {2*x*x};}172\only<3->{\addplot[domain=-2:2, green, thick,samples=40] {0.5*x*x};}173\end{axis}174\end{tikzpicture}175\end{column}176\end{columns}177\end{frame}178179\begin{frame}{Fehlerfunktion}180\begin{itemize}[<+->]181\item \textbf{Daten $(x_{i,1}, \dots, x_{i,n}, y_{i,1}, \dots, y_{i,\text{\# Klassen}})$}: Beispiele für den Computer182\item \textbf{Aktuelles Modell $f$}: Funktion mit vielen Parametern183\item \textbf{Fehlerfunktion}: Wie gut ist $f$ für die vorhandenen184Daten?185\end{itemize}186\end{frame}187188\begin{frame}{Fehlerfunktion}189Abbildung von \textbf{Parameterraum} auf den Fehler ($\mathbb{R}_0^+$)190\end{frame}191192\begin{frame}{Minimieren mit Ableitungen}193\begin{figure}[h]194\centering195\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/derivative-function.png}196\end{figure}197\end{frame}198199\begin{frame}{Gradientenabstieg}200\begin{figure}[h]201\centering202\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/gradient-descent.png}203\end{figure}204\end{frame}205206207\section{Neuronale Netze}208\subsection{Neuronale Netze}209\begin{frame}{Neuronale Netze}{}210\begin{itemize}[<+->]211\item Menge von parametrisierten Funktionen212$\mathbb{R}^n \rightarrow \mathbb{R}^{\text(\# Klassen)}$213\item $\mathbb{R}^n$: Eingabe,\\z.B. Farbe von Pixel~1, Farbe von Pixel~2, \dots214\item $\mathbb{R}^{\text(\# Klassen)}$: Ausgabe,\\Wahrscheinlichkeit der Klasse (z.B. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)215\item Ableitbar216\end{itemize}217\end{frame}218219\section{Ausblick}220\subsection{Ausblick}221\begin{frame}{Ausblick}222Erkennung von Formeln223\begin{itemize}[<+->]224\item Aufbau eines Sprachmodells der Mathematik225\item Erweiterung der Symboldatenbank226\item Segmentierung227\end{itemize}228\end{frame}229230231232