KNN disabled in my classification learner?

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 comentarios

Hashir Abdi
Hashir Abdi el 27 de Jul. de 2020
did you ever figure out the reason why this happened? Am experiencing the exact same thing.
Abdulla Al Blooshi
Abdulla Al Blooshi el 12 de Nov. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 31 de Oct. de 2018

Comentada:

el 12 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by