···118118119119 \paragraph{Naive Bayes Classifier}
120120121121- \cite{naivebayes}
121121+ \cite{naivebayes} is a classification method according to Bayes' theorem,
122122+ shown in \Cref{eq:bayes}. Bayes' theorem allows us to calculate the
123123+ probability of an event taking into account prior knowledge of conditions of
124124+ the event in question. In classification this allows us to calculate the
125125+ probability that a new instance has a certain class based its features. We
126126+ then assign the class that has the highest probability.
127127+128128+ \begin{equation}
129129+ \label{eq:bayes}
130130+ P(A\mid B)=\frac {P(B\mid A)\,P(A)}{P(B)}
131131+ \end{equation}
122132123133 \paragraph{$k$-Nearest Neighbors}
124134