Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Matrix::Mat* Impala::Core::Training::Fisher::SigmoidMap ( Matrix::Mat Map,
Impala::Real64  scale = 1 
) [inline]

Definition at line 430 of file Fisher.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Matrix::MatCopy(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::SetValue(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::Value().

Referenced by ApplyMapping(), and CNormC().

00431     {
00432         Matrix::Mat* res = 0;
00433         res = Matrix::MatCopy(Map);
00434         for(int i=0;i<Map->CW();i++)
00435             for(int j=0;j<Map->CH();j++)
00436                 res->SetValue(1/(1+exp(-res->Value(i,j)/scale)),i,j);
00437 
00438         return res;
00439     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:23:37 2010 for ImpalaSrc by  doxygen 1.5.1