I am trying to do some text mining over 35000 rows of data, and when i try to create the model from modeldata, I take the rows that I decided to use for training and test. And, I also feed the known categories of the training data into the model.
I am getting this error .
Error in knn(modeldata[train, ], modeldata[test, ], cl[train]) : too many ties in knn
Any suggestions how to fix it.
I have set the seed for 100.
Regards, Ren.