Description Usage Arguments Value
The function can be used to update KNN model when new data is provided
1 | KnnUpdate(knnMdl, newData)
|
knnMdl |
a list containing:
|
newData |
a dataframe or a matrix, to be used for updating the model |
a list containing :
data - The updated data using old data set and new data
xCol - The column number of features provided by user or the best subset column number
yCol - The column number of target provided by user
bestK - The best k nearest neighbor calculated for the new data using user specified features and target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.