Leave one out cross validation-HELP
이전 댓글 표시
Hi,
I am implementing a fingerprint liveness detection algorithm by extracting the features using a modified combination of Weber local descriptor and Centralized Binary pattern, a 9x32 vector matrix is generated. So after extracting the features from the training dataset of 2011 Liveness Detection Competition the resulting vector is 18000x32. So I want to use the Leave one out cross validation to determine its accuracy. Could you please give an example? So far I have seen examples of KFold cross validation in the documentation but none for leaveout. At the moment I used a (10)KFold cross validation to train the resulting vector then extracted the code and did some minor changes such as: partitionedModel = crossval(trainedClassifier.ClassificationEnsemble, 'Kfold', 10)=>partitionedModel = crossval(trainedClassifier.ClassificationEnsemble, 'Leaveout', 'on'); Could you please point me to the right direction?
Thank you very much
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Axes Transformations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!