php-kmeans icon indicating copy to clipboard operation
php-kmeans copied to clipboard

Algorithm run visualization

Open bdelespierre opened this issue 3 years ago • 2 comments

It would be great to be able to visualize graphically each step of the algorithm to watch it run (and potentially find bottlenecks)

bdelespierre avatar May 20 '21 08:05 bdelespierre

That will be helpful for testing. Easiest idea will be export the data as CSV for each iteration and use a charting libaray. https://dev.to/thormeier/algorithm-explained-k-means-clustering-with-php-4nog

DonaldTrump88 avatar May 20 '21 11:05 DonaldTrump88

Well, the lib provides a way to tap into the solve iterations: https://github.com/bdelespierre/php-kmeans#watch-the-algorithm-run That would be a good place to start :smile:

bdelespierre avatar May 20 '21 12:05 bdelespierre