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

void Impala::Core::Table::Bayes::DumpMatrixProb_c_gAsList (  )  [inline]

Definition at line 366 of file Bayes.h.

References Impala::Core::Table::AnnotationTable::GetLabel(), mConceptNum, mGenreNum, mProb_c_g, tabConcept, and tabGenre.

Referenced by Impala::Core::Table::BayesCondProb::CalcConceptConditionalPriorProbabilityBayesRule().

00367     {
00368         std::cout << std::endl << "mProb_c_g[k][j]" <<" (" << mConceptNum << " x " << mGenreNum << "):" << std::endl;
00369         for (int k=0; k<mConceptNum; k++)
00370         {
00371             for (int j=0; j<mGenreNum; j++)
00372             {
00373                 String strGenre = tabGenre[j]->GetLabel();
00374                 String strConcept = tabConcept[k]->GetLabel();
00375                 String name = strGenre + "-" + strConcept;
00376                 printf("%s\t\t%.3f\n",name.c_str(), mProb_c_g[k][j]);
00377             }
00378             printf("\n");
00379         }
00380     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:14 2010 for ImpalaSrc by  doxygen 1.5.1