eigen vector and neural net... [closed]
scene:I am develpoing a program regarding image classification(more on recognition).Here i extracted face and estimate its HOG vectors...which are reduced to 3-d eigen space and projected into eigenspace..projection gave me 3-sized coloum and (many)rowed matrix..this was fed to neural network.these projected vectors were of same person i.e all hog feature were belonged to same person.after training neural net..when i test for positive as well as negative data sets...it fails to recognise..it outputs same expected output for both as it was trained for...
question
1.am i going right....
2.i have to try negative training sets or approach for binary classification..
3.If not right,then how
actually i requested PCA to give me 3 dimension::so shall i ask for more dimension(~10,100..); also what wrong i am doing?the whole approach or feeding wrong training sets or with projected vectors..??
well your network IS too small. and imho, you should concatenate the hog patches to a single feature, not use them as (labelled) row-vectors on their own, because you use the patch location information this way.
and if you do a PCA, it should contain the whole dataset, not a single image. maybe have a look at the EigenFaces code, again ?
https://bpaste.net/show/123484f08a92 I really want to cry!!! i tried a lot...all ideas!! all hell>oh..
what is you ann actually trying to classify ? what is the purpose of it ? why do you train with the same, single image, over and over ?
The whole idea/concept of neural networks in my opinion is that you DO NOT reduce your feature space using PCA/LDA because the network is able to learn the necessary features on itself if you make it complex enough. So why would you even reduce the dimension in the first place?
@StevenPuttmans then what do you mean....i must feed 2k 3k dimension all tougther to net...no it does not make any sense at all
@berak i am trying to teach neuron to learn about face of two different person using HOG feature...I am targeting for binary classification...since feature space is too large i try reducing them using PCA and then fed to net...
@berak what do you say...shall i first collect all data sets for all image then reduce and train?