bdelespierre / php-kmeans

PHP K-Means
MIT License
90 stars 41 forks source link

Algorithm run visualization #15

Open bdelespierre opened 3 years ago

bdelespierre commented 3 years ago

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

DonaldTrump88 commented 3 years ago

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

bdelespierre commented 3 years ago

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: