Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
irevoire committed Sep 16, 2024
1 parent f2f6a7e commit 0b21f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/distance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ pub fn two_means_binary_quantized<D: Distance, NonBqDist: Distance, R: Rng>(
// points to either one of them. We weight each centroid by the number of points
// assigned to it, so to balance it.
// Even though the points we're working on are binary quantized, for the centroid
// to move, we need to store them as f32. This requires us to convert the binary quantized
// vector to f32 vectors a lot, but the recall suffers too much if we don't do it.
// to move, we need to store it as f32. This requires us to convert every binary quantized
// vectors to f32 vectors, but the recall suffers too much if we don't do it.

const ITERATION_STEPS: usize = 200;

Expand Down

0 comments on commit 0b21f34

Please sign in to comment.