필터 지우기
필터 지우기

The length of GROUP must equal the number of rows in TRAINING.

조회 수: 2 (최근 30일)
sun rise
sun rise 2022년 1월 29일
load featurs_T
load featurs_S
load Group_Train
load Group_Test
Feat1 = pca(Feat1);
Feat2 = pca (Feat2);
%------------------------
result= classify(Feat1,Feat1,Group_Train1,'diaglinear');
Accuracy = mean(Group_Test1==result) * 100;
fprintf('Accuracy = %.2f\n', Accuracy);
fprintf('error rate = %.2f\n ', mean(result ~= Group_Test1 ) * 100);
why is pca decreasing the number of images and thus I get this error
while the Group and Training before using pca were equal
Feat1 95904x1031 double
Feat2 95904x108 double
Group_Train1 1x1032 double
Group_Test1 1x109 double

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by