1 #ifndef theplu_yat_classifier_knn_reciprocal_distance_h 2 #define theplu_yat_classifier_knn_reciprocal_distance_h 38 namespace classifier {
55 const std::vector<size_t>& k_sorted,
Class for containing sample labels.
Definition: Target.h:47
The Department of Theoretical Physics namespace as we define it.
void operator()(const utility::VectorBase &dist, 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:55
This is the mutable interface to GSL vector.
Definition: VectorMutable.h:56
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:49