happynear / happynear/FaceVerification
Is PCA helpful?
- Dominant language
- MATLAB
- Stars
- 447
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
I recently reproduced your result with your 99.3% model in your matlab code.
There is a interesting thing: in the lfwPCA.m, if you replace thresh1 by thresh2 when training the SVM, the result accuracy is as well as thresh1, about 99.25%.
In my test, i changed [U,mu,vars] = pca( [F1_mu(train_idx,:); F2_mu(train_idx,:)]' ); with [U,mu,vars] = pca( [F1_mu(train_idx,:); F2_mu(train_idx,:)] ); , with the matlab version 2015b. And, i downloaded a applyPCA.m because i didn't find the function in your code. i‘m not sure if these changes matter.
Anyway, i trained a SVM model using the 6000 pairs in LFW with opencv, and used it to test the whole possible pairs formed by total images in LFW. Unfortunately, the acc in same subject pairs is about 82% with the acc in different subject pairs 45%. Do you have some light on this phenomenon?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.