How to do k-fold cross validation in matlab?

조회 수: 85 (최근 30일)
sumair shahid
sumair shahid 2017년 5월 9일
댓글: mahdi azizian 2021년 12월 5일
I am working on my face recognition project.i need to do k-fold cross validation to check my classifier accuracy.Can anybody please tell me how i can do K-fold cross validation for my data of images?
  댓글 수: 4
wayne asera
wayne asera 2017년 12월 16일
What Matlab version are you using? There is a classification learner app that can help you. It is a straight forward.
Munshida P
Munshida P 2019년 12월 25일
Hii....Iam also doing the same one now. Can you please provide your code if it is available?

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

답변 (1개)

Matthew Eicholtz
Matthew Eicholtz 2017년 5월 9일
I think the function crossvalind may help. Check out the example of 10-fold cross validation provided at that link.

카테고리

Help CenterFile Exchange에서 Pattern Recognition and Classification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by