75 const size_t cutoff)
const;
Label * labels() const
Definition: queryresults.h:52
Definition: dataset.cc:28
void indexing_of_sorted_labels(const Score *scores, size_t *dest) const
Sorts the element of the current result list in descending order of the given scores vector and store...
Definition: queryresults.cc:47
float Feature
data type for instance predicted label
Definition: types.h:31
void sorted_labels(const Score *scores, Label *dest, const size_t cutoff) const
Sorts the element of the current result list in descending order of the given scores vector and store...
Definition: queryresults.cc:55
size_t num_results() const
Definition: queryresults.h:55
virtual ~QueryResults()
Definition: queryresults.cc:34
double Score
data type for instance truth label
Definition: types.h:30
Label * labels_
Definition: queryresults.h:78
Feature * features_
Definition: queryresults.h:79
Feature * features() const
Definition: queryresults.h:49
QueryResults(size_t n_results, Label *new_labels, Feature *new_features)
Allocates an Query Results Object.
Definition: queryresults.cc:27
This class wraps a set of results for a given query.
Definition: queryresults.h:36
float Label
Definition: types.h:29
size_t num_results_
Definition: queryresults.h:80