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

Impala::Core::Table::Bayes Class Reference

A Bayes class has two child classes: BayesCondProb: compute the conditional probability P(c_{k}|g_{j}) based on annotation tables BayesFusion: update concept similarity tables, as posterior probability of concepts P(c_{k}|X_{i}). More...

#include <Bayes.h>

Inheritance diagram for Impala::Core::Table::Bayes:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Table::Bayes:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Bayes (String annoSetName, String setName, String genreSet, String conceptSet, String quid, int nStart, int nEnd)
virtual ~Bayes ()
bool HasAnnotation ()
int GetGenreNum () const
int GetConceptNum () const
int GetAnnoTableSize () const
int GetTableSize () const
void InitializeAnnoTables ()
void InitializeConceptAnnoTables ()
void InitializeGenreAnnoTables ()
void VerifyAndSetAnnoTableSize ()
void SaveQuidTablePerGenre (bool bWrite)
void DumpMatrix (char *name, double **matrix, int nRow, int nCol)
void DumpMatrix (char *name, double **matrix, int nRow, int nCol, const char *file)
void DumpMatrixProb_c_gAsList ()
void SaveConfigurationMatrix (const char *file)
void ResetMatrix (double **&matrix, int nRow, int nCol)
void ReleaseMatrix (double **&matrix, int nRow)
void SaveMatrix ()
bool LoadMatrix (bool bAnnoSet=true)
void SaveMatrixConceptConditionalProbability (String name, double **matrix, int &nRow, int &nCol)
bool LoadMatrixConceptConditionalProbability (String name, double **matrix, int &nRow, int &nCol, bool bAnnoSet=true)
void AllocateMatrix (double **&matrix, int nRow, int nCol)

Protected Attributes

String mSetName
String mAnnoSetName
String mGenreSet
String mConceptSet
Core::VideoSet::VideoSetmVidSet
Core::VideoSet::VideoSetmAnnoVidSet
AnnotationTableSetmTabGenreSet
AnnotationTableSetmTabConceptSet
AnnotationTable ** tabConcept
AnnotationTable ** tabGenre
Core::Table::QuidTablemAnnoQuidTable
String mMatrixFile
String mQuid
bool mHasAnnotation
bool mHandleTestSet
bool mVerbose
bool mbDumpTable
int mGenreNum
int mConceptNum
int mAnnoTableSize
int mTableSize
int mStart
int mEnd
double ** mProb_c_g

Detailed Description

A Bayes class has two child classes: BayesCondProb: compute the conditional probability P(c_{k}|g_{j}) based on annotation tables BayesFusion: update concept similarity tables, as posterior probability of concepts P(c_{k}|X_{i}).

Definition at line 15 of file Bayes.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:20:08 2010 for ImpalaSrc by  doxygen 1.5.1