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