KNN disabled in my classification learner?
2 次查看(过去 30 天)
显示 更早的评论
Hello every one, I want to train the UNSW-NB15 dataset (with holdout validation) using the KNN classifier, in my classification learner application (Matlab R2018a). However, only SVM and Decision trees and Ensemble classifiers are enabled. Other classifiers such as KNN classifier, Logistic regression classifier, and Discriminant analysis are disabled. Is there anything wrong with my Matlab, or is it related to the data set? Thank you.
2 个评论
Hashir Abdi
2020-7-27
did you ever figure out the reason why this happened? Am experiencing the exact same thing.
Abdulla Al Blooshi
2020-11-12
For those who still search for the problem. Make sure that the table containing the data set does not include strings or "words" ..
my data set included MONTH, New/Old words, which I replaced with numeric values. not it works.
hope this helps.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!