필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Good Day Everyone. I have a problem on classifying with SVM. I had 3 mat files (3d matrices) that need to be train into svm classification. My inquiries is, how can I grouped all of them and train into svm?

조회 수: 1 (최근 30일)
I have tried to use fitcsvm and fitcecoc but none of them seems work. Can someone help me out to understand this? Thank you so much!
data= load ('jogging-300.mat');
Jog=data';
datb= load ('sit-257.mat');
Sit=datb';
datc = load ('walk-344.mat');
Walk= datc';
% Xdata=['Jog','Sit', 'Walk']';
groups = ['Jog','Sit','Walk']; // is this the correct way to group them?
SVMStruct = fitcecoc (A, groups);
  댓글 수: 2
KSSV
KSSV 2018년 9월 26일
is this the correct way to group them? YOu have given a code.....did it run? It showed any error? You can access that eh.
Fadilla Atyka Nor Rashid
Fadilla Atyka Nor Rashid 2018년 9월 26일
it doesnt give any error. neither that i can access it. just, i think it is kinda weird and something wrong with the codes. might need someone expertized to help me. thanks :)

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by