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

virtual RankingTableType* Impala::Core::Training::Fisher::Rank (  )  [inline, virtual]

Definition at line 453 of file Fisher.h.

References ApplyMapping(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), ILOG_ERROR, mProbabilities, mTestFeatures, mTestLabels, and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::Value().

00454     {
00455         if(mTestFeatures == 0)
00456         {
00457             ILOG_ERROR("[Fisher::Train] no test set");
00458             return NULL;
00459         }
00460         int size=mTestFeatures->CH();
00461         RankingTableType* result = MakeRankingTable(size);
00462 
00463         ApplyMapping(mTestFeatures);
00464 
00465         for(int i=0 ; i<size ; i++)
00466         {
00467             result->Add("", i, mTestLabels->Value(i,0), mProbabilities->Value(1,i));
00468         }
00469 
00470         return result;
00471     }

Here is the call graph for this function:


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