Borrar filtros
Borrar filtros

How to do k-fold cross validation in matlab?

80 visualizaciones (últimos 30 días)
sumair shahid
sumair shahid el 9 de Mayo de 2017
Comentada: mahdi azizian el 5 de Dic. de 2021
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 comentarios
wayne asera
wayne asera el 16 de Dic. de 2017
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 el 25 de Dic. de 2019
Hii....Iam also doing the same one now. Can you please provide your code if it is available?

Iniciar sesión para comentar.

Respuestas (1)

Matthew Eicholtz
Matthew Eicholtz el 9 de Mayo de 2017
I think the function crossvalind may help. Check out the example of 10-fold cross validation provided at that link.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by