For several reasons, I need to do the KNN classifier after reducing the dimension of training and sampling data. When the type is guassian, it seems that the eigenvector will be complex number so that KNN is invaild. How can I solve this problem? Thanks so much.
Can someone please explain to me where exactly in the code does the face recognition process take place? the code seems to be training using a database but where exactly can we pass on a picture and the code recognized if it's in class 1, 2, 3.... 40