MultiIndex
|
#include "perfomance_util.h"
Functions | |
int | GetRecallAt (const int length, const vector< PointId > &groundtruth, const vector< DistanceToPoint > &result) |
double | GetPresicionAt (const int length, const set< PointId > &groundtruth, const vector< DistanceToPoint > &result) |
Variables | |
string | report_file |
double GetPresicionAt | ( | const int | length, |
const set< PointId > & | groundtruth, | ||
const vector< DistanceToPoint > & | result | ||
) |
This function returns precision at specified length
length | specified size of search results |
groundtruth | groundtruth |
result | search results |
int GetRecallAt | ( | const int | length, |
const vector< PointId > & | groundtruth, | ||
const vector< DistanceToPoint > & | result | ||
) |
This function returns recall at specified length
length | specified size of search results |
groundtruth | groundtruth |
result | search results |
string report_file |
File to write report in