Skip to content

Commit

Permalink
testing knn
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshyoga committed Apr 20, 2024
1 parent 2c5fb18 commit d4cedef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ sycl::event knn_impl(sycl::queue q,

// simple vote
for (size_t j = 0; j < k; ++j) {
d_votes_to_classes[(i*classes_num) + (queue_neighbors[j].label)] += 1;
size_t ith_idx = i * classes_num;
//size_t jth = queue_neighbors[j].label;
//d_votes_to_classes[(i*classes_num) + (queue_neighbors[j].label)] += 1;
}

IntTy max_ind = 0;
Expand Down

0 comments on commit d4cedef

Please sign in to comment.