Code covered by the BSD License  

Highlights from
Morphological Shared-Weight Neural Network for Face Recognition

image thumbnail

Morphological Shared-Weight Neural Network for Face Recognition

by

 

31 Dec 2004 (Updated )

MSNN has the ability to learn feature extraction and perform classification at the same time.

logsigfx(t);
function [w] = logsigfx(t);

% USAGE: y = logsigfx(x)
% logsigfx returns the Boltzmann/logistic/Fermi function:
% y = 1 / ( 1 + exp(-x) )
% t is the face matrix of the system
% t can be a scalar or a matrix with
% the same dimension as x 


[ni,nj] = size(t);
un = ones(ni,nj);
w = un./(un+exp(-t));

Contact us