solve_kmeans | R Documentation |
KMeans solution approach
solve_kmeans(instance, no_of_centers = 5)
instance |
A list returned from generate_2d_instance |
no_of_centers |
The number of base locations to generate |
A list
instance <- generate_2d_instance() solution <- solve_kmeans(instance = instance, no_of_centers = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.