Loading request...
Implement a KNN clustering algorithm to group coordinates, adding a `Geocoder::Calculations.cluster([objects], number_of_clusters)` method.
In my latest project, I wrote a KNN clustering algorithm, which builds on `Geocoder::Calculations.distance_between` and `Geocoder::Calculations.geographic_center` For me, it's a useful feature. If you think it's good to have in the gem by default, I would like to write a `Geocoder::Calculations.cluster([objects], number_of_clusters)` method.