KNN disabled in my classification learner?

3 views (last 30 days)
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 Comments
Hashir Abdi
Hashir Abdi on 27 Jul 2020
did you ever figure out the reason why this happened? Am experiencing the exact same thing.
Abdulla Al Blooshi
Abdulla Al Blooshi on 12 Nov 2020
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!