| calcWitinSS | Calculate the total within cluster sum of squared distance |
| euc_dist | Euclidean distance between any two points |
| find_centroid | Find the centroid of a cluster |
| fit | Compute k-means clustering |
| init_cent | initalize centroids using random or kmpp |
| input_preprocessing | Convert raw input data to data frame |
| kmplot | Visualize kmeans results |
| kmpp | Find the initial centroids using the kmeans++ approach |
| predict | Predict k-means clustering; provide labels for all... |
| should_stop | Check if converged |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.