Skip to content
Snippets Groups Projects
Commit 84b7875d authored by s183917's avatar s183917 :speech_balloon:
Browse files

sadfasd står rigtigt merge er kneppet os hårdt

parent 8bb7f6cc
No related branches found
No related tags found
No related merge requests found
......@@ -82,18 +82,15 @@ If the inverse density score of a specific song is low, the more likely it is to
\begin{figure}[H]
\label{invest}
\centering
\includegraphics[width=\linewidth]{out_KDE}
\caption{text}
\end{figure} \noindent
\includegraphics[width=\linewidth]{out_KNNdes}
\end{figure}
\noindent
Another anomaly detection tool is the relative density. The same KNN-model that is fitted to the data with $ K=9 $ is used. Furthermore, the relative density can be calculated with the following expression,
\[ \mathrm{ard }_{\mathbf X} (\mathbf x_i, K) = \frac{\mathrm{density }_{\mathbf X_{\backslash i}} (\mathbf x_i, K)}{\frac{1}{K} \sum_{\mathbf{x}_j\in N_{\mathbf x \backslash i}(\mathbf x_i, K)}\mathrm {density}_{\mathbf X_{\backslash j}}(\mathbf x_j,\mathbf{x^\prime})} \]
If the $ \mathrm{ard} < 1 $ then the specific songs is likely to be an outlier. The songs with lowest relative density score are illustrated in \ref{relden}.
\begin{figure}[H]
\label{relden}
\centering
\includegraphics[width=\linewidth]{out_KNNdes}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[width=\linewidth]{out_KNNrel}
\end{figure}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment