I want to compare the performance of the model with kNN and Naïve Bayes. But the problem is that I can't interpret the result in the form of accuracy. In this case, I did not set any training and test set but set xval = 10 in the process. So, how can I calculate the model's accuracy?
Asked
Active
Viewed 63 times
0
-
Take a look again at [ask]. There's very little information here for folks to go on—we know nothing about your models or the parameter choices you're asking about. If the question is about calculations or interpretation more than code, it might be better suited on [stats.se], but even that much is unclear right now – camille Mar 28 '22 at 20:31
-
Please provide enough code so others can better understand or reproduce the problem. – Community Mar 29 '22 at 08:52