Go to the source code of this file.
Classes | |
struct | EvaluationResult |
struct | ModelParams |
struct | TestSetCompleteResult |
struct | TestSetSingleResult |
Typedefs | |
typedef std::map< std::string, std::vector< ObjectSetPtr > > | PatternNameToObjectSet |
Functions | |
EvaluationResult | evaluate (PatternNameToObjectSet ts, bool valid, const ModelParams ¶ms) |
bool | find (const std::vector< double > &in, double toFind) |
PatternNameToObjectSet | loadTestSetsFromDB (std::string fileName) |
int | main (int argc, char *argv[]) |
typedef std::map<std::string, std::vector<ObjectSetPtr> > PatternNameToObjectSet |
Definition at line 7 of file validator.cpp.
EvaluationResult evaluate | ( | PatternNameToObjectSet | ts, |
bool | valid, | ||
const ModelParams & | params | ||
) |
Definition at line 50 of file validator.cpp.
bool find | ( | const std::vector< double > & | in, |
double | toFind | ||
) |
Definition at line 128 of file validator.cpp.
PatternNameToObjectSet loadTestSetsFromDB | ( | std::string | fileName | ) |
Definition at line 36 of file validator.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
The validator, which tests the given model against the given test sets and counts false recognitions and runtime. Calculates some statistical values (average of runtime and false recognitions, ratio of false recognition against number of sets). Writes the results as csv to the given file –>
Definition at line 143 of file validator.cpp.