This runs the KNN classification algorithm and accepts a distance matrix as an argument
1 |
data |
The matrix containing the data to classify |
distance_matrix |
The distance matrix |
training.labels |
The classification labels to compare to |
K |
The value of K |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.