Definition: dataset.cc:28
const size_t pos_of_rank(const size_t rank) const
Definition: rankedresults.h:62
Label * sorted_labels() const
Definition: rankedresults.h:54
Label * labels_
Definition: rankedresults.h:71
Score * sorted_scores() const
Definition: rankedresults.h:58
This class generates a ranked list of results.
Definition: rankedresults.h:37
virtual ~RankedResults()
Definition: rankedresults.cc:42
RankedResults(std::shared_ptr< QueryResults > results, Score *scores)
Generates a Ranked Results list.
Definition: rankedresults.cc:27
double Score
data type for instance truth label
Definition: types.h:30
size_t * unmap_
Definition: rankedresults.h:74
const size_t num_results() const
Definition: rankedresults.h:66
size_t num_results_
Definition: rankedresults.h:73
float Label
Definition: types.h:29
Score * scores_
Definition: rankedresults.h:72