Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132935 views
License: OTHER
1
%!TEX root = Sommerakademie-2015-Forschung.tex
2
\section{Einleitung}
3
\subsection{Was ist On-Line Recognition?}
4
5
\begin{frame}{Demo}
6
\begin{figure}[h]
7
\centering
8
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/Classification.png}
9
\end{figure}
10
11
\href{http://write-math.com}{write-math.com}
12
\end{frame}
13
14
\begin{frame}{Was ist On-Line Recognition?}
15
\medskip
16
\begin{columns}[t,onlytextwidth]
17
\begin{column}{.5\textwidth}
18
{\Large Off-line Recognition}
19
\begin{figure}[h]
20
\centering
21
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-pixel.png}
22
\end{figure}
23
\end{column}
24
\begin{column}{.5\textwidth}
25
{\Large On-line Recognition}
26
\begin{figure}[h]
27
\centering
28
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-vektor.png}
29
\end{figure}
30
\end{column}
31
\end{columns}
32
\end{frame}
33
34
\begin{frame}{Was wollen wir?}
35
\[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}\]
36
\medskip
37
\visible<2->{
38
\begin{center}
39
{\Large Gesucht: Funktion $f$}\\
40
(und Merkmalsextraktion)
41
}
42
\end{center}
43
\end{frame}
44
45
\begin{frame}{Merkmalsextraktion}
46
\begin{figure}[h]
47
\centering
48
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/A-vektor-merkmalsbildung.png}
49
\end{figure}
50
51
Merkmalsvektor fester Länge ist praktisch
52
\end{frame}
53
54
\section{Funktionen}
55
\subsection{Funktionen}
56
57
\begin{frame}{Funktionen}
58
\begin{figure}[h]
59
\centering
60
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/function-machine.png}
61
\end{figure}
62
\end{frame}
63
\begin{frame}{Funktionen}
64
\medskip
65
\begin{columns}[t,onlytextwidth]
66
\begin{column}{.5\textwidth}{
67
\begin{itemize}[<+->]
68
\item $f(x) = x^2$ ist $f: \mathbb{R} \rightarrow \mathbb{R}$
69
\item $f(x, y) = x^2 + y^2$ ist $f: \mathbb{R}^2 \rightarrow \mathbb{R}$
70
\item $f(x, y) = (x^2 + y^2, x \cdot y)$ ist $f: \mathbb{R}^2 \rightarrow \mathbb{R}^2$
71
\end{itemize}
72
}
73
\end{column}
74
\begin{column}{.4\textwidth}
75
\only<1>{
76
\begin{tikzpicture}
77
\begin{axis}[
78
legend pos=south west,
79
axis x line=middle,
80
axis y line=middle,
81
grid = major,
82
width=6.5cm,
83
height=6.5cm,
84
grid style={dashed, gray!30},
85
xmin=-2, % start the diagram at this x-coordinate
86
xmax= 2, % end the diagram at this x-coordinate
87
ymin=-0.25, % start the diagram at this y-coordinate
88
ymax= 4.25, % end the diagram at this y-coordinate
89
axis background/.style={fill=white},
90
xlabel=$x \in \mathbb{R}$,
91
ylabel=$f(x) \in \mathbb{R}$,
92
%xticklabels={-2,-1.6,...,7},
93
%yticklabels={-8,-7,...,8},
94
tick align=outside,
95
minor tick num=-3,
96
enlargelimits=true,
97
tension=0.08]
98
\addplot[domain=-2:2, red, thick,samples=40] {x*x};
99
\end{axis}
100
\end{tikzpicture}
101
}
102
\only<2->{
103
\pgfplotsset{
104
colormap={whitered}{
105
color(0cm)=(white);
106
color(1cm)=(orange!75!red)
107
}
108
}
109
\begin{tikzpicture}
110
\begin{axis}[
111
colormap name=whitered,
112
width=5.5cm,
113
height=5.5cm,
114
view={340}{25},
115
enlargelimits=false,
116
grid=major,
117
domain=-3:3,
118
y domain=-3:3,
119
samples=56, %57 : TeX capacity exceeded, sorry [main memory size=3000000].
120
% see also http://tex.stackexchange.com/a/7954/5645
121
xlabel=$x$,
122
ylabel=$y$,
123
zlabel={$f(x,y)$},
124
]
125
\addplot3[surf] {x^2 + y^2};
126
\end{axis}
127
\end{tikzpicture}
128
}
129
\end{column}
130
\end{columns}
131
\end{frame}
132
133
\begin{frame}{Funktionen mit Parametern}
134
\begin{columns}
135
\begin{column}{.5\textwidth}
136
{\Large Mit Parametern}
137
\begin{itemize}[<+->]
138
\item $f(x) = x^2$
139
\item $f(x) = 2 \cdot x^2$
140
\item $f(x) = \nicefrac{1}{2} \cdot x^2$
141
\item $f(x) = a \cdot x^2$
142
\item $f(x_1, \dots, x_{166}) = \sum_{i=1}^{166} a_i \cdot x_i$\\
143
$\mathbb{R}^{166} \rightarrow \mathbb{R}$
144
\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)$\\
145
$\mathbb{R}^{166} \rightarrow \mathbb{R}^{\text(\# Klassen)}$
146
\end{itemize}
147
\end{column}
148
\begin{column}{.4\textwidth}
149
\begin{tikzpicture}
150
\begin{axis}[
151
legend pos=south west,
152
axis x line=middle,
153
axis y line=middle,
154
grid = major,
155
width=6.5cm,
156
height=6.5cm,
157
grid style={dashed, gray!30},
158
xmin=-2, % start the diagram at this x-coordinate
159
xmax= 2, % end the diagram at this x-coordinate
160
ymin=-0.25, % start the diagram at this y-coordinate
161
ymax= 4.25, % end the diagram at this y-coordinate
162
axis background/.style={fill=white},
163
xlabel=$x \in \mathbb{R}$,
164
ylabel=$f(x) \in \mathbb{R}$,
165
%xticklabels={-2,-1.6,...,7},
166
%yticklabels={-8,-7,...,8},
167
tick align=outside,
168
minor tick num=-3,
169
enlargelimits=true,
170
tension=0.08]
171
\only<1->{\addplot[domain=-2:2, red, thick,samples=40] {x*x};}
172
\only<2->{\addplot[domain=-2:2, blue, thick,samples=40] {2*x*x};}
173
\only<3->{\addplot[domain=-2:2, green, thick,samples=40] {0.5*x*x};}
174
\end{axis}
175
\end{tikzpicture}
176
\end{column}
177
\end{columns}
178
\end{frame}
179
180
\begin{frame}{Fehlerfunktion}
181
\begin{itemize}[<+->]
182
\item \textbf{Daten $(x_{i,1}, \dots, x_{i,n}, y_{i,1}, \dots, y_{i,\text{\# Klassen}})$}: Beispiele für den Computer
183
\item \textbf{Aktuelles Modell $f$}: Funktion mit vielen Parametern
184
\item \textbf{Fehlerfunktion}: Wie gut ist $f$ für die vorhandenen
185
Daten?
186
\end{itemize}
187
\end{frame}
188
189
\begin{frame}{Fehlerfunktion}
190
Abbildung von \textbf{Parameterraum} auf den Fehler ($\mathbb{R}_0^+$)
191
\end{frame}
192
193
\begin{frame}{Minimieren mit Ableitungen}
194
\begin{figure}[h]
195
\centering
196
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/derivative-function.png}
197
\end{figure}
198
\end{frame}
199
200
\begin{frame}{Gradientenabstieg}
201
\begin{figure}[h]
202
\centering
203
\includegraphics*[width=0.7\linewidth, keepaspectratio]{images/gradient-descent.png}
204
\end{figure}
205
\end{frame}
206
207
208
\section{Neuronale Netze}
209
\subsection{Neuronale Netze}
210
\begin{frame}{Neuronale Netze}{}
211
\begin{itemize}[<+->]
212
\item Menge von parametrisierten Funktionen
213
$\mathbb{R}^n \rightarrow \mathbb{R}^{\text(\# Klassen)}$
214
\item $\mathbb{R}^n$: Eingabe,\\z.B. Farbe von Pixel~1, Farbe von Pixel~2, \dots
215
\item $\mathbb{R}^{\text(\# Klassen)}$: Ausgabe,\\Wahrscheinlichkeit der Klasse (z.B. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
216
\item Ableitbar
217
\end{itemize}
218
\end{frame}
219
220
\section{Ausblick}
221
\subsection{Ausblick}
222
\begin{frame}{Ausblick}
223
Erkennung von Formeln
224
\begin{itemize}[<+->]
225
\item Aufbau eines Sprachmodells der Mathematik
226
\item Erweiterung der Symboldatenbank
227
\item Segmentierung
228
\end{itemize}
229
\end{frame}
230
231
232