Is it possible to simulate a classifiers behaviour?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
David Mabwa
le 3 Juil 2020
Réponse apportée : Aditya Patil
le 13 Juil 2020
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.
0 commentaires
Réponse acceptée
Aditya Patil
le 13 Juil 2020
I understand that you would like to have options for interpreting the results in real time. Currently, it's not possible to visualize these models in real time. The models such as KNN and SVM rely on a decision boundary to decide the class of a data sample. As such, visualizing the decision boundary is a good option to interpret the results.
For the specific dataset attached, the issue seems to be with high dimensionality. To get a more robust model, you can utilize one of the dimensionality reduction techniques that are available.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!