Searched refs:hamming_distance (Results 1 – 1 of 1) sorted by relevance
284 DistanceType hamming_distance; in getNeighbors() local288 hamming_distance = distance_(vec, dataset_[*training_index], dataset_.cols); in getNeighbors()290 if (hamming_distance < worst_score) { in getNeighbors()292 … score_index_heap.push_back(ScoreIndexPair(hamming_distance, training_index)); in getNeighbors()322 DistanceType hamming_distance; in getNeighbors() local327 hamming_distance = distance_(vec, dataset_[*training_index], dataset_.cols); in getNeighbors()328 …if (hamming_distance < radius) score_index_heap.push_back(ScoreIndexPair(hamming_distance, trainin… in getNeighbors()355 DistanceType hamming_distance; in getNeighbors() local360 … hamming_distance = distance_(vec, dataset_[*training_index], (int)dataset_.cols); in getNeighbors()361 result.addPoint(hamming_distance, *training_index); in getNeighbors()