KNN disabled in my classification learner?

조회 수: 3 (최근 30일)
kawther hassine
kawther hassine 2018년 10월 31일
댓글: Abdulla Al Blooshi 2020년 11월 12일
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
Hashir Abdi 2020년 7월 27일
did you ever figure out the reason why this happened? Am experiencing the exact same thing.
Abdulla Al Blooshi
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 CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by