Is it possible to simulate a classifiers behaviour?
Show older comments
I am training a few classification models, KNN, SVM and Weighted KNN on my dataset (attached). During training, I keep getting an error rate of 0% for the weighted knn, no matter the number of neighbours. I even tried 100 neighbours, but I again got a 0% error. This doesn't seem possible to me.
So I was wondering if one can simulate the models behaviour, to visually see how the algorithm makes its decision based on any dataset, or a random set of datapoints. My goal is to also have it animated and running on a loop. I would like to first do it on the WkNN as that is what I am most concerned with.
I have tried a decision surface/boundary but that is a static image of the boundary. I was wondering if one can watch an algorithm make its decision, live.
Any help would be greatly appreciated.
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Nearest Neighbors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!