Training neural network for facial expression classification

Hi all,
I have 15 images of happy face,15 image of sad face and 15 image of angry faces.
My problem is i do not know how to train neural network using all this images. I have separate 50 images for testing purposes.
So,how do i train neural network using output from PCA of each image?
PLZ do guide me since my supervisor is pressuring me lately..

 Akzeptierte Antwort

Greg Heath
Greg Heath am 17 Mai 2012

0 Stimmen

Use the vectorization operator, : , to convert each processed image to a column vector. The corresponding target vector is a column of eye(3). Once you have the input and target matrices with 45 columns each, use PATTERNNET
help patternnet
doc patternnet
Hope this helps.
Greg

Weitere Antworten (1)

vaibhav
vaibhav am 16 Mai 2012

0 Stimmen

Are you doing that using PCA??

2 Kommentare

Hi Vaibhav,
i have dropped PCA and adopted LBP for this project
Hi Remo,
can u share code of training NN classifier with LBP features .

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Just for fun finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 28 Feb. 2012

Kommentiert:

am 20 Mär. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by