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

void Impala::Core::Training::Tester::TestAveragePrecision (  )  [inline, private]

note that when we create a reference, this function is dependant on the output of TestApply

Definition at line 178 of file Tester.h.

References Impala::Core::Training::AveragePrecision::Compute(), mAnnotation, mIO, Impala::Core::Training::TesterIOHelper::ReadAveragePrecision(), Impala::Core::Training::TesterIOHelper::ReadRanking(), Test(), and Impala::Core::Training::TesterIOHelper::WriteAveragePrecision().

Referenced by Test().

00179     {
00180         Table::ScoreTable* refRanking = mIO.ReadRanking("rbf");
00181         AveragePrecision ap(mAnnotation);
00182         double score = ap.Compute(refRanking);
00183         mIO.WriteAveragePrecision(score);
00184         double refScore = mIO.ReadAveragePrecision();
00185         Test(score, refScore, "average precision");
00186         delete refRanking;
00187     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:24:21 2010 for ImpalaSrc by  doxygen 1.5.1