#include <AnnotationTable.h>
Inheritance diagram for Impala::Core::Table::AnnotationTable:
Public Types | |
typedef Column::ColumnTem< Real64 > | ColumnReal64 |
typedef Column::ColumnTem< Quid > | ColumnQuid |
Public Member Functions | |
AnnotationTable () | |
AnnotationTable (String label, int tableSize) | |
String | GetLabel () const |
void | SetLabel (String label) |
int | GetQuidClass () const |
bool | ContainsFrames () const |
bool | ContainsShots () const |
int | GetNrPositive () const |
int | GetNrNegative () const |
QuidTable * | GetPositive () const |
QuidTable * | GetNegative () const |
QuidTable * | GetAnnotatedQuids () const |
int | GetIndex (Quid annotee) const |
bool | IsAnnotated (Quid annotee) const |
Real64 | GetQualification (Quid annotee) const |
bool | IsPositive (int idx) const |
bool | IsPositive (Quid annotee) const |
bool | IsNegative (int idx) const |
bool | IsNegative (Quid annotee) const |
bool | IsSkip (int idx) const |
bool | IsSkip (Quid annotee) const |
void | AddPositive (Quid annotee) |
void | AddNegative (Quid annotee) |
void | AddSkip (Quid annotee) |
void | SelectQuidObjectMaxId (int maxId) |
void | SelectQuidObjectMaxPositive (int number) |
void | SelectQuidObjectMaxNegative (int number) |
void | UpdateQuidMap () |
int | Diff (AnnotationTable *arg) const |
virtual void | Dump (int from=0, int to=-1) |
virtual void | Dump (Database::RawDataSet *dataSet, int from=0, int to=-1) |
void | DumpSummary () |
void | DumpSummaryObject () |
std::vector< QuidTable * > | MakeEpisodeFolds (int foldCount, int repetition) |
This function creates 'episode contrained' folds from annotation. | |
std::vector< QuidTable * > | MakeRandomFolds (int foldCount, int repetition) |
void | Sort () |
after sorting the positive examples come first (sorted on quids), then the skipped, then the negative examples (sorted on quids) | |
Static Public Member Functions | |
static AnnotationTable * | MakeFromFile (String label, String fileName, Util::Database *db) |
Private Member Functions | |
void | GroupPerVideo (const QuidTable *positive, const QuidTable *negative, std::vector< int > &positiveVideos, std::vector< int > &negativeVideos) |
Private Attributes | |
String | mLabel |
bool | mIsAscending |
Util::SimpleMap< Quid, int > | mQuidMap |
ILOG_VAR_DEC |
The qualifier indicates whether the annotee fits a label. Qualifier range : (-1:negative, 0:skip, 1:positive).
Definition at line 33 of file AnnotationTable.h.