2 \subsubsection{Dot Product}
4 \frametitle{Dot Product}
6 y = \overrightarrow x \bullet \overrightarrow h
11 \frametitle{Dot Product}
13 y = \overrightarrow x \bullet \overrightarrow h
16 \overrightarrow x \bullet \overrightarrow h = \sum\nolimits_{i = 1}^n {a_1 \cdot b_1 + a_2 \cdot b_2 + \ldots + a_n \cdot b_n }
21 \frametitle{Dot Product}
23 \item Two steps to define: \\
25 \overrightarrow x \bullet \overrightarrow h = \sum\nolimits_{i = 1}^n {a_1 \cdot b_1 + a_2 \cdot b_2 + \ldots + a_n \cdot b_n }
28 \item \emph{Pairwise Multiplication}: \\
31 < x0*h0, x1*h1, x(n-1)*h(n-1)>
33 \item \emph{Summation}: \\
36 (..((0+z0)+z1)+..+z(n-1))
43 \frametitle{Dot Product}
45 \item Two steps to define: \\
47 \overrightarrow x \bullet \overrightarrow h = \sum\nolimits_{i = 1}^n {a_1 \cdot b_1 + a_2 \cdot b_2 + \ldots + a_n \cdot b_n }
50 \item \emph{Combine the two}: \\
52 xs ** hs = foldl (+) 0 (zipWith (*) xs hs)