When I calculate Covariance (A_Transposed * A) and Calculate the eigenvalues and eigenvectors I always get ONE very small eigenval Here I have 3 images in my training set.
-0.0000000242 17221292.9979712702 11732978.3353619855
This first unsorted eigenval is super small. When I do SVD on these Eigenvectors I need to do eigenValues[i]^(-0.5) at some point to get the desired eigenvectors (Initial eigenvectors are smaller in length since I did (A_Transposed * A) instead of ( A * A_Transposed )).
Long storyshort, the smallest eigenval turns out to be a complex number when I do Math.pow(eval_i,-0.5). So do I suppose to use comlex eigensolver ? Is such a small number normal ? The other eigenvalues look huge, is that normal?
I have followed this
Thanks