php-kmeans
php-kmeans copied to clipboard
Algorithm run visualization
It would be great to be able to visualize graphically each step of the algorithm to watch it run (and potentially find bottlenecks)
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
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: