a program to compute mAP of Oxford5k dataset (exe)
More...
#include <fstream>
#include <iostream>
#include <set>
#include <string>
#include <vector>
|
| vector< string > | load_list (const string &fname) |
| |
| template<class T > |
| set< T > | vector_to_set (const vector< T > &vec) |
| |
| float | compute_ap (const set< string > &pos, const set< string > &amb, const vector< string > &ranked_list) |
| |
| int | main (int argc, char **argv) |
| |
a program to compute mAP of Oxford5k dataset (exe)
| float compute_ap |
( |
const set< string > & |
pos, |
|
|
const set< string > & |
amb, |
|
|
const vector< string > & |
ranked_list |
|
) |
| |
| vector<string> load_list |
( |
const string & |
fname | ) |
|
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
template<class T >
| set<T> vector_to_set |
( |
const vector< T > & |
vec | ) |
|