1 #ifndef theplu_yat_classifier_knn_reciprocal_rank_h
2 #define theplu_yat_classifier_knn_reciprocal_rank_h
37 namespace classifier {
58 const std::vector<size_t>& k_sorted,
Class for containing sample labels.
Definition: Target.h:47
A model of the concept Neighbor Weighting Method to be used with KNN to weight the votes of the k nea...
Definition: KNN_ReciprocalRank.h:52
void operator()(const utility::VectorBase &distance, const std::vector< size_t > &k_sorted, const Target &target, utility::VectorMutable &prediction) const
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
This is the mutable interface to GSL vector.
Definition: VectorMutable.h:55