Currently learning to write a k nearest neighbour function in R, and I'm not sure what .class does in this line of code?
my_knn.class <- function (ts, input_mat, cl, k)
Currently learning to write a k nearest neighbour function in R, and I'm not sure what .class does in this line of code?
my_knn.class <- function (ts, input_mat, cl, k)