Description Usage Arguments Value Author(s) See Also Examples
This function performs classification using the k- nearest neighbors but using Gower distance rather than Euclidean distance. It is recommended if the dataset has niminal and continuous attributes.
1 | knngow(train, test, k)
|
train |
A matrix containing the training dataset. |
test |
A matrix containing the test dataset. |
k |
The number of neighbors to be used. |
predclass |
A vector of predited classes |
Edgar Acuna
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.