Select the initial centers of centroids by using the k++ approach as suggested in this article: http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf
The dataset used in the classification
The number of groups for the classification
a DataFrame, each row is the center of a cluster
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.