How to implement and visualize K-Means algorithm

Опубликовано: 09 Июнь 2026
на канале: Renaro Santos
1,474
24

In this video I will show the behaviour of the k-mean algorithm.
It has 2 steps:
(1)For every data point find its nearest centroid;
(2)Update de position of the centroid to the average of the data.
You have to do it until converge, which means that the centroids are not changing anymore.
You can download the source code of the app shown in this link : https://github.com/renaro/machine-lea...

Checkout my video about Clean Architecture in Android:    • Clean Architecture in Android in 5 minutes