summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2023-01-08 04:13:31 +0100
committerLeonard Kugis <leonard@kug.is>2023-01-08 04:13:31 +0100
commitf1b0c3146287a61f8a6828c013db56c665729006 (patch)
treee1a61922e343fe50bf7e0835a809641b864e62dc
parent321cdb10d4f741aac59555c0fa6b5dee2f9767d7 (diff)
Corrected k-means algorithm description
-rw-r--r--Presentation/presentation.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Presentation/presentation.tex b/Presentation/presentation.tex
index a9db5c1..f4ac0c7 100644
--- a/Presentation/presentation.tex
+++ b/Presentation/presentation.tex
@@ -230,8 +230,11 @@ backend=biber,
\item Perform k-means clustering:
\begin{enumerate}
\item Initialize $k$ cluster centroids
- \item Assign each data to the cluster with nearest centroid
- \item Recalculate cluster centroids
+ \item For all weights:
+ \begin{enumerate}
+ \item Assign weight to the cluster with nearest centroid
+ \item Recalculate cluster centroids
+ \end{enumerate}
\end{enumerate}
\end{itemize}
\end{frame}