Hello, I have a problem with KKNN training, here is my code, and the files are attached, the problem shows up when I try to create the confusionMatrix:
Error in! All.equal (nrow (data), ncol (data)): invalid type argument
Can any one help me?
library(kknn)
library(caret)
headers = c("col1", "col2", "col3", "col4", "col5", "col6", "col7", "type")
testData0