You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please confirm that the skip function in knn is a function that takes an index i and returns true if that index should be skipped in the list of best indices?
Say I have a set of visited points that I want to update iteratively:
visited =Set([1])
skip(i) = i ∈ visited
for i in1:n
inds, dists =knn(..., skip)
push!(visited, i)
end
Is that the correct usage of the option?
The text was updated successfully, but these errors were encountered:
Can you please confirm that the
skip
function inknn
is a function that takes an indexi
and returns true if that index should be skipped in the list of best indices?Say I have a set of visited points that I want to update iteratively:
Is that the correct usage of the option?
The text was updated successfully, but these errors were encountered: