3 ms·
This repository is a good example of trying to abstract something to death in my opinion. It takes a relatively simple algorithm and breaks it up into far more
by fundamental 12y ago
This repository is a good example of trying to abstract something to death in my opinion.
It takes a relatively simple algorithm and breaks it up into far more pieces than really needed.
It also manages to be both incomplete in its implementation (no iteration until convergence or change<some delta) and incorrect in implementation as the update step updates the centroid's location at the incorrect time.
100% coverage is pretty nice to have though.
- stockkid 12y agoThanks. I'm fairly new to OOP and wanted to try it out. Isn't abstraction here good because it breaks the code into modular pieces? Can you suggest some good readings? And I agree the algorithm is incomplete.
- wodenokoto 12y agoOnly if you need those modules outside of your k-means