knn classifier

조회 수: 2 (최근 30일)
harjan
harjan 2012년 5월 16일
hi all, I have a doubt regarding knn classification...I have 1x1200 features for every test and train samples. And the length (number of images)of train was 500. Number of classes i need to classify is 10(subimages=10, number of sets=50 in train) How to classify this using knn classification?I know dat will be given as knnclassify(train,sample,group) But it shows error that displays Group have the length that equal to the rows of train....I couldn't understand ...Please provide me the answer....
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 5월 16일
What is size(group) at present?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by